{% extends "base.html" %} {% block title %}Index{% endblock %} {% block static %} {% load static %} {% endblock %} {% block content %} {% if form %}
{% csrf_token %} {{ form.non_field_errors }} {% for field in form %}
{{ field.label_tag }} {{ field }}
{{ field.errors }} {% endfor %}

{% else %} ❌ {% endif %} {% endblock %}