This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
paul-synchro/django/sp_sso/templates/invite/invitation_form.html

36 lines
1.3 KiB
HTML

{% extends "sp_base.html" %}
{% load i18n %}
{% block content %}
<div id="padding-left">&nbsp;</div>
<div id="centered-column">
{% if form.errors %}
<div id="error-msg">{% trans "Missing fields" %}</div>
{% endif %}
{{ form.user_nickname }}<br><br>
{{ form.user_help_msg }}<br><br>
<form action="{% url "invitation" %}" method="post">
{% csrf_token %}
{% include "registration_field.html" with field=form.email %}
{% include "registration_field.html" with field=form.message %}
{% include "registration_field.html" with field=form.hote_identite %}
{% include "registration_field.html" with field=form.hote_courriel %}
{% include "registration_field.html" with field=form.hote_nom %}
{% include "registration_field.html" with field=form.hote_prenom %}
{% include "registration_field.html" with field=form.hote_etablissement_description %}
{% include "registration_field.html" with field=form.hote_unite_description %}
{{ form.hote_etablissement.as_hidden }}
{{ form.hote_unite.as_hidden }}
{{ form.hote_type.as_hidden }}
<input type="submit" value="{% trans "Submit" %}"/>
</form>
{% if form.errors %}
<div id="error-msg">{% trans "Missing fields" %}</div>
{% endif %}
</div>
<div id="padding-right">&nbsp;</div>
{% endblock %}