Mercurial > sat_legacy_website
comparison templates/sat_website/adhesion_form.html @ 57:bfa8009f0769
improve the subscription form
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 14 May 2015 22:46:57 +0200 |
parents | a1e457ac6871 |
children |
comparison
equal
deleted
inserted
replaced
56:01e9c646999f | 57:bfa8009f0769 |
---|---|
51 </div> | 51 </div> |
52 {% elif field.field.widget|is_checkbox %} | 52 {% elif field.field.widget|is_checkbox %} |
53 <div class="checkbox"> | 53 <div class="checkbox"> |
54 <label> | 54 <label> |
55 {% autoescape off %} | 55 {% autoescape off %} |
56 {{ field }}{{ field.label }} <span class="glyphicon glyphicon-asterisk"></span> | 56 {{ field }}{{ field.label }} |
57 {% if field.field.required %} | |
58 <span class="glyphicon glyphicon-asterisk"></span> | |
59 {% endif %} | |
57 {% endautoescape %} | 60 {% endautoescape %} |
58 </label> | 61 </label> |
59 </div> | 62 </div> |
60 {% else %} | 63 {% else %} |
61 {% if field.field.required %} | 64 {% if field.field.required %} |