-
✂️ Pruning
+
✂️ Pruning months
{% if plant.pruning_months %}
{% month_strip plant.pruning_months %}
{% endif %}
{% with plant.pruning_logs.first as last_log %}
{% if last_log %}
-
Last pruned: {{ last_log.pruned_on|date:"j M Y" }}
+
Last pruned: {{ last_log.pruned_on|date:"j M Y" }}
{% endif %}
{% endwith %}
-
- {% if pruning_status == 'overdue' %}
-
Overdue
- {% elif pruning_status == 'due_this_month' %}
-
Due this month
- {% endif %}
+
+ {% if pruning_status == 'overdue' %}
+ Overdue
+ {% elif pruning_status == 'due_this_month' %}
+ Due this month
+ {% endif %}
@@ -28,9 +28,9 @@
class="mt-2"
>
{% csrf_token %}
-
+
{{ log_form.pruned_on }}
-
+