symposion_app/pinaxcon/templates/forms/widget_boolean_single.html
2017-04-23 17:21:19 +10:00

17 lines
481 B
HTML

<h3>
{{ field.label }}{% if field.field.required %} *{% endif %}
</h3>
{% if field.errors %}
<div class="alert alert-danger col-sm-offset-2 col-sm-10" role="alert">
{{ field.errors }}
</div>
{% endif %}
<div class="col-sm-offset-2 col-sm-10">
<label class="form-check-label" for="id_profile-past_lca_0">
{{ field }}
<p>Sign me up</p>
{% if field.help_text %}
<span class="help_text">{{ field.help_text|safe }}</span>
{% endif %}
</label>
</div>