Debian Codegraph @

examples/regular-django/example/templates/allauth/elements/form.html

raw
1 {% load allauth %}
2 {% for err in attrs.form.non_field_errors %}<div role="alert" class="alert alert-danger">{{ err }}</div>{% endfor %}
3 <form class="{% block form_class %}{% if not attrs.no_visible_fields %}card{% endif %}{% endblock %}"
4 method="{{ attrs.method }}"
5 {% if attrs.action %}action="{{ attrs.action }}"{% endif %}>
6 {% if not attrs.no_visible_fields %}<div class="card-body">{% endif %}
7 {% slot body %}
8 {% endslot %}
9 {% if not attrs.no_visible_fields %}</div>{% endif %}
10 {% if not attrs.no_visible_fields %}<div class="card-footer">{% endif %}
11 {% slot actions %}
12 {% endslot %}
13 {% if not attrs.no_visible_fields %}</div>{% endif %}
14 </form>