Akron | ca9bd98 | 2016-12-06 16:59:57 +0100 | [diff] [blame^] | 1 | <fieldset> |
| 2 | {{ form.hidden_tag() }} |
| 3 | {% for field in form %} |
| 4 | <div class="pure-control-group"> |
| 5 | {% if field.id != 'csrf_token' %} |
| 6 | {{ field.label(class_='label-control text-capitalize') }} |
| 7 | {% if field.id != 'confirm' and field.type != 'radio' %} |
| 8 | {{ field(class_='form-control') }} |
| 9 | {% elif field.id == 'confirm' %} |
| 10 | <span style="padding:25pt;"> |
| 11 | {{ field(class_='form-control') }} |
| 12 | </span> |
| 13 | {% elif field.type == 'radio' %} |
| 14 | {{ field(class_='radio-inline') }} |
| 15 | {% endif %} |
| 16 | {% endif %} |
| 17 | </div> |
| 18 | {% endfor %} |
| 19 | <button type="submit" style="margin:10pt auto;" class="btn btn-primary text-capitalize">{{ submit }}</button> |
| 20 | </fieldset> |