Mercurial > sat_legacy_website
comparison templates/sat_website/adhesion_form.html @ 55:a1e457ac6871
split adhesion.html between adhesion.html and association.html
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 05 May 2015 15:02:50 +0200 |
parents | d721c8ffa22a |
children | bfa8009f0769 |
comparison
equal
deleted
inserted
replaced
54:d54f2f09a73a | 55:a1e457ac6871 |
---|---|
40 {% if field.field.widget|is_radio %} | 40 {% if field.field.widget|is_radio %} |
41 <div class="text-center" id="{{ field.auto_id }}_group" name="{{ field.name }}_group"> | 41 <div class="text-center" id="{{ field.auto_id }}_group" name="{{ field.name }}_group"> |
42 <span for="{{ field.auto_id }}">{{ field.label }}</span> | 42 <span for="{{ field.auto_id }}">{{ field.label }}</span> |
43 <div class="btn-group" data-toggle="buttons"> | 43 <div class="btn-group" data-toggle="buttons"> |
44 {% for radio in field %} | 44 {% for radio in field %} |
45 <label for="{{ radio.id_for_label }}" class="btn btn-default{% if field.value == radio.choice_value %} active{% endif %}"> | 45 <label for="{{ radio.id_for_label }}" class="btn btn-default badge my-btn{% if field.value == radio.choice_value %} active{% endif %}"> |
46 {{ radio.tag }}{{ radio.choice_label }} | 46 {{ radio.tag }}{{ radio.choice_label }} |
47 </label> | 47 </label> |
48 {% endfor %} | 48 {% endfor %} |
49 </div> | 49 </div> |
50 <div>{{ field.help_text }}</div> | 50 <div>{{ field.help_text }}</div> |