This repository has been archived on 2023-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
takahe/templates/forms/_field.html
Andrew Godwin 34b24a0dcb More UI!
2022-11-13 16:15:14 -07:00

14 lines
339 B
HTML

<div class="field">
<label for="{{ field.id_for_label }}">
{{ field.label }}
{% if field.field.required %}<small>(Required)</small>{% endif %}
</label>
{% if field.help_text %}
<p class="help">
{{ field.help_text }}
</p>
{% endif %}
{{ field.errors }}
{{ field }}
</div>