{% extends "plants/base.html" %} {% block title %}{{ title }} — BloomBase{% endblock %} {% block content %}
{{ title }}
{% if species %}
{% if species.api_image_url %} {% endif %}
{{ species.common_name }} {% if species.scientific_name %}{{ species.scientific_name }}{% endif %}
Care info pre-filled from species database.
{% endif %}
{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors }}
{% endif %}
{{ form.location }} {% if form.location.errors %}
{{ form.location.errors }}
{% endif %}
{{ form.new_location }}
Leave empty if selecting from the list above.
{{ form.is_indoor }}
{% for val, label in form.watering.field.choices %}
{% endfor %}
{% if species and species.watering %}
Species default: 💧 {{ species.watering }}
{% endif %} {% if form.watering.errors %}
{{ form.watering.errors }}
{% endif %}
{% for val, label in form.sunlight.field.choices %}
{% endfor %}
{% if species and species.sunlight %}
Species default: ☀️ {{ species.sunlight }}
{% endif %} {% if form.sunlight.errors %}
{{ form.sunlight.errors }}
{% endif %}
{% for widget in form.bloom_months %}
{{ widget.tag }}
{% endfor %}
{{ form.notes }}
{% endblock %}