{% extends 'core_ui/base.html' %} {% block title %}Add Grow Log{% endblock %} {% block content %}

Add Grow Log{% if plant %} for {{ plant.common_name.name }}{% endif %}

{{ form.hidden_tag() }} {# only show this when not pre-selecting via URL #} {% if not hide_plant_select %}
{{ form.plant_uuid.label(class="form-label") }} {{ form.plant_uuid(class="form-select") }}
{% else %} {{ form.plant_uuid(type="hidden") }} {% endif %}
{{ form.event_type.label(class="form-label") }} {{ form.event_type(class="form-select") }}
{{ form.title.label(class="form-label") }} {{ form.title(class="form-control") }}
{{ form.notes.label(class="form-label") }} {{ form.notes(class="form-control", rows=4) }}
{{ form.is_public(class="form-check-input") }} {{ form.is_public.label(class="form-check-label") }}
{% endblock %}