symposion_app/pinaxcon/templates/_form_snippet.html
Sachi King 8fa8fc4012 Add ' *' required markers back
The bootstrap renderer did not do anything to signify required rows.  We
can do this by adding a class for CSS to work on, and add this field in
a more simplified manner.

label-required == append ' *'
2017-04-25 01:27:04 +10:00

21 lines
400 B
HTML

{% load pyconau2017_tags %}
{% load bootstrap %}
{% block extra_style %}
<style type="text/css">
.label-required:after { content: ' *'; }
</style>
{% endblock %}
{% if form.non_field_errors %}
<div class="has-errors">
{{ form.non_field_errors }}
</div>
<br/>
{% endif %}
<blockquote>
Fields marked with <strong>*</strong> are required.
</blockquote>
{{ form|bootstrap_horizontal }}