blob: 595546df61b082518c3b128b586a50998a211fbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<div class="field">
<div class="label-input">
<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|linebreaksbr }}
</p>
{% endif %}
{{ field.errors }}
{{ field }}
</div>
{% if preview %}
<img class="preview" src="{{ preview }}">
{% endif %}
</div>
|