commit
0695b88bca
@ -10,6 +10,26 @@
|
|||||||
<span class="help-inline">{{ error }}</span>
|
<span class="help-inline">{{ error }}</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if field.help_text %}
|
||||||
|
<p class="help-block">
|
||||||
|
{{ field.help_text|safe }}
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% else %}{% if field|is_radio %}
|
||||||
|
<label class="control-label">{{ field.label }}</label>
|
||||||
|
<div class="controls">
|
||||||
|
{% for choice in field %}
|
||||||
|
<label class="radio">
|
||||||
|
{{ choice.tag }}
|
||||||
|
{{ choice.choice_label }}
|
||||||
|
</label>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for error in field.errors %}
|
||||||
|
<span class="help-inline">{{ error }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
{% if field.help_text %}
|
{% if field.help_text %}
|
||||||
<p class="help-block">
|
<p class="help-block">
|
||||||
{{ field.help_text|safe }}
|
{{ field.help_text|safe }}
|
||||||
@ -33,5 +53,5 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user