symposion_app/pinaxcon/templates/forms/widget_boolean_single.html

18 lines
481 B
HTML
Raw Normal View History

<h3>
{{ field.label }}{% if field.field.required %} *{% endif %}
</h3>
2017-04-23 07:21:19 +00:00
{% 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>