23 lines
665 B
HTML
23 lines
665 B
HTML
{% for hidden in wizard.form.hidden_fields %}
|
|
{{ hidden }}
|
|
{% endfor %}
|
|
{% if wizard.form.non_field_errors %}
|
|
<div class="alert alert-message alert-error">
|
|
{{ wizard.form.non_field_errors }}
|
|
</div>
|
|
{% endif %}
|
|
{% for field in wizard.form.visible_fields %}
|
|
<div class="control-group form-field clearfix{% if field.errors %} error{% endif %}">
|
|
{{ field.label_tag }}
|
|
{% if field.errors %}
|
|
{% for error in field.errors %}
|
|
<span class="help-inline">{{ error }}</span>
|
|
{% endfor %}
|
|
{% endif %}
|
|
<span class="help-block">{{ field.help_text }}</span>
|
|
<div class="input">
|
|
{{ field }}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|