14 lines
806 B
HTML
14 lines
806 B
HTML
{% load allauth %}
|
|
{% for bound_field in attrs.form %}
|
|
{% 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 %}
|
|
{% slot label %}
|
|
{{ bound_field.label }}
|
|
{% endslot %}
|
|
{% if bound_field.field.help_text %}
|
|
{% slot help_text %}
|
|
{{ bound_field.field.help_text }}
|
|
{% endslot %}
|
|
{% endif %}
|
|
{% endelement %}
|
|
{% endfor %}
|