{% extends "base.html" %} {% block title %}Edit Template - {{ template.name }}{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{{ template.name }}

Add Item
Template Settings
{{ form.hidden_tag() }}
{{ form.name.label(class="form-label") }} {{ form.name(class="form-control") }}
{{ form.description.label(class="form-label") }} {{ form.description(class="form-control", rows=3) }}
{{ form.frequency.label(class="form-label") }} {{ form.frequency(class="form-select") }}
Checklist Items ({{ checklist_items|length }})
{% if checklist_items %}
{% for item in checklist_items %}
{{ item.category }} {{ item.scoring_type.replace('_', ' ')|title }} {% if item.requires_photo %} {% endif %}

{{ item.item_description }}

Weight: {{ item.weight }}
{% endfor %}
{% else %}
No checklist items yet. Click "Add Item" to get started.
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}