{% extends "base.html" %} {% load django_bootstrap5 %} {% load markdownify %} {% load i18n %} {% block title %} Nominate for the {{ election.name }} - {{ CONVENTION_NAME }} {% endblock title %} {% block content %}
{% block email-control %} {# This block is for the mobile interfaces; it only shows in small viewports #}
{% csrf_token %}
{# This block is for the web interface; it only shows in larger viewports #}
{% csrf_token %}
{% endblock email-control %}
{% block instructions %}
{% include "nominate/bits/nomination_instructions.html" %}
{% endblock instructions %} {% block form %}
{% csrf_token %} {% for field in form.hidden_fields %}{{ field }}{% endfor %} {% for category, fieldset_list in form.fieldsets_grouped_by_category.items %}
{{ category.name | markdownify:"admin-label" }} {% if category.description %}

{{ category.description | markdownify:"admin-content" }}

{% endif %} {% if category.nominating_details %}
{{ category.nominating_details | markdownify:"admin-content" }}
{% endif %} {% for fieldset in fieldset_list %}
{% for field in fieldset %}
{% bootstrap_field field show_label=False success_css_class="has-error" layout="blank-safe" %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}
{% endblock %}