2016-07-27 00:10:20 +02:00
|
|
|
{% load bootstrap %}
|
|
|
|
|
2016-07-26 11:56:54 +02:00
|
|
|
{% if login_clipper %}
|
|
|
|
<h3>Inscription associée au compte clipper <tt>{{ login_clipper }}</tt></h3>
|
|
|
|
{% elif member %}
|
|
|
|
<h3>Inscription du compte GestioCOF existant <tt>{{ member.username }}</tt></h3>
|
|
|
|
{% else %}
|
|
|
|
<h3>Inscription d'un nouveau compte (extérieur ?)</h3>
|
|
|
|
{% endif %}
|
2016-07-27 00:10:20 +02:00
|
|
|
<form role="form" id="profile" method="post" action="{% url 'gestioncof.views.registration' %}">
|
2016-07-26 11:56:54 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
<table>
|
2016-07-27 00:10:20 +02:00
|
|
|
{{ user_form | bootstrap }}
|
|
|
|
{{ profile_form | bootstrap }}
|
2016-07-26 11:56:54 +02:00
|
|
|
</table>
|
2016-08-23 17:40:24 +02:00
|
|
|
<hr />
|
|
|
|
<table>
|
|
|
|
{{ clubs_form | bootstrap }}
|
|
|
|
</table>
|
2016-08-07 18:47:59 +02:00
|
|
|
{{ event_formset.management_form }}
|
|
|
|
{% for event_form in event_formset %}
|
2016-07-26 11:56:54 +02:00
|
|
|
<hr />
|
2016-08-07 18:47:59 +02:00
|
|
|
<h3>Inscription {{ event_form.event.title }} :</h3>
|
2016-07-26 11:56:54 +02:00
|
|
|
<table>
|
2016-08-07 18:47:59 +02:00
|
|
|
{{ event_form | bootstrap }}
|
2016-07-26 11:56:54 +02:00
|
|
|
</table>
|
|
|
|
{% endfor %}
|
|
|
|
{% if login_clipper or member %}
|
|
|
|
<input type="hidden" name="user_exists" value="1" />
|
|
|
|
{% endif %}
|
2016-07-27 14:00:38 +02:00
|
|
|
<input type="submit" class="btn btn-primary pull-right" value="Enregistrer l'inscription" />
|
2016-07-26 11:56:54 +02:00
|
|
|
</form>
|