Debian Codegraph @

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

raw
1 {% load allauth %}
2 {% for bound_field in attrs.form %}
3 {% element field unlabeled=attrs.unlabeled name=bound_field.name type=bound_field.field.widget.input_type required=bound_field.field.required value=bound_field.value id=bound_field.auto_id errors=bound_field.errors placeholder=bound_field.field.widget.attrs.placeholder tabindex=bound_field.field.widget.attrs.tabindex autocomplete=bound_field.field.widget.attrs.autocomplete style=bound_field.field.widget.attrs.style choices=bound_field.field.choices %}
4 {% slot label %}
5 {{ bound_field.label }}
6 {% endslot %}
7 {% if bound_field.field.help_text %}
8 {% slot help_text %}
9 {{ bound_field.field.help_text }}
10 {% endslot %}
11 {% endif %}
12 {% endelement %}
13 {% endfor %}