{% extends 'core/base.html' %}
{% block title %}Add New Plant – Nature In Pots{% endblock %}

{% block content %}
<div class="container mt-4">
  <h2>Create New Plant</h2>
  <form method="POST">
    {{ form.hidden_tag() }}

    <div class="mb-3">
      {{ form.plant_type.label(class="form-label") }}
      {{ form.plant_type(class="form-select") }}
    </div>

    <div class="mb-3">
      {{ form.common_name.label(class="form-label") }}
      {{ form.common_name(class="form-select") }}
    </div>

    <div class="mb-3">
      {{ form.scientific_name.label(class="form-label") }}
      {{ form.scientific_name(class="form-select") }}
    </div>

    <div class="mb-3">
      {{ form.mother_uuid.label(class="form-label") }}
      {{ form.mother_uuid(class="form-select") }}
    </div>

    <div class="mb-3">
      {{ form.custom_slug.label(class="form-label") }}
      {{ form.custom_slug(class="form-control") }}
    </div>

    <div class="mb-3">
      {{ form.notes.label(class="form-label") }}
      {{ form.notes(class="form-control", rows=4) }}
    </div>

    <div class="form-check mb-3">
      {{ form.data_verified(class="form-check-input") }}
      {{ form.data_verified.label(class="form-check-label") }}
    </div>

    <div class="form-check mb-3">
      {{ form.is_active(class="form-check-input") }}
      {{ form.is_active.label(class="form-check-label") }}
    </div>

    <button type="submit" class="btn btn-success">Create Plant</button>
  </form>
</div>
{% endblock %}
