{% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% import 'input/form.html' as form with context %} {% import 'input/field.html' as field with context %} {% block body %}

{% trans %}Salut à Toi association membership request{% endtrans %}

{% trans %}Please fill the form below if you're willing to join the Salut à Toi association.{% endtrans %}

{% call form.form(class="form--paper form__panel--center") %}

{% trans %}Identity{% endtrans %}

{{ field.text("firstname", _("firstname"), placeholder=_("Given name"), required=true, class="form__field--big") }} {{ field.text("name", _("name"), placeholder=_("Family name"), required=true, class="form__field--big") }} {{ field.textarea("address", _("address"), placeholder=_("Address, post code, city"), required=true, class="form__field--big") }}

{% trans %}Contacts{% endtrans %}

{{ field.email("email", _("email address"), placeholder=_("please double check your email address"), required=true, class="form__field--big") }} {{ field.text("jid", "Jabber ID", placeholder=_("XMPP identifier (may be your SàT login)"), class="form__field--big") }}

{% trans %}Subscription{% endtrans %}

{{ field.select("subscription", (("0", _("0€")), ("10", _("10€")), ("20", _("20€")), ("30", _("30€")), ("50", _("50€")), ("80", _("80€")), ("100", _("100€"))), selected=["10"], required=true, class="form__field--big", ) }}

{% trans %}Reference{% endtrans %}

{{ field.text("reference", _("reference (in case of renewal)"), placeholder=_("Your adherent number. You may let empty if you don't know it."), class="form__field--big") }}

{% trans %}Comment{% endtrans %}

{{ field.textarea("comment", _("comment"), placeholder=_("This is a free field if you have anything to say or request."), class="form__field--big") }} {{ field.checkbox("mailing_list", _("I would like to subscribe to the adherents' mailing list (low traffic)."), checked=true) }} {{ field.checkbox("documents_read", _("I have read the %(statutes)s and %(rules)s and I agree with both of them", statutes=''|safe + _("statutes") + ''|safe, rules=''|safe + _("rules") + ''|safe, ), checked=false, required=true) }} {{ field.submit(_("join the association"), id="membership_submit") }} {% endcall %}
{% endblock body %}