mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-11-30 06:53:02 +00:00
1d81213773
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
32 lines
858 B
HTML
32 lines
858 B
HTML
<!-- templates/signup.html -->
|
|
{% extends 'base.html' %}
|
|
{% load crispy_forms_filters %}
|
|
{% load i18n %}
|
|
{% block title %}{% trans "Add organizer" %}{% endblock %}
|
|
|
|
{% block extracss %}
|
|
{{ volunteer_registration_form.media }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>{% trans "Add organizer" %}</h2>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
<div id="registration_form">
|
|
{{ volunteer_registration_form|crispy }}
|
|
</div>
|
|
<button class="btn btn-success" type="submit">
|
|
{% trans "Add organizer" %}
|
|
</button>
|
|
</form>
|
|
|
|
<div id="volunteer_registration_form" class="d-none">
|
|
{{ volunteer_registration_form|crispy }}
|
|
</div>
|
|
<div id="admin_registration_form" class="d-none">
|
|
{{ admin_registration_form|crispy }}
|
|
</div>
|
|
{% endblock %}
|