{% extends "users/sidebar.html" %} {% comment %} Re2o est un logiciel d'administration développé initiallement au rezometz. Il se veut agnostique au réseau considéré, de manière à être installable en quelques clics. Copyright © 2017 Gabriel Détraz Copyright © 2017 Goulven Kermarec Copyright © 2017 Augustin Lemesle This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} {% load bootstrap3 %} {% load widget_tweaks %} {% load massive_bootstrap_form %} {% load static %} {% load acl %} {% load i18n %} {% block title %}{% trans "Users" %}{% endblock %} {% block content %} {% bootstrap_form_errors userform %}
{% csrf_token %}

Informations générales

{{ userform.name.label_tag }} {% render_field userform.name class="form-control" requiered=True %}
{{ userform.surname.label_tag }} {% render_field userform.surname class="form-control" requiered=True %}
{{ userform.pseudo.label_tag }} {% render_field userform.pseudo class="form-control" requiered=True %}
{{ userform.email.label_tag }} {% render_field userform.email class="form-control" requiered=True %}
{{ userform.telephone.label_tag }} {% render_field userform.telephone class="form-control" requiered=True %}
{% if user.is_authenticated %} {% can_edit user %}
{{ userform.school.label_tag }} {% render_field userform.school class="form-control" requiered=True %}
{{ userform.room.label_tag }} {% render_field userform.room class="form-control" requiered=True %}
{{ userform.comment.label_tag }} {% render_field userform.comment class="form-control" %}

Informations avancées (facultatif)

{{ userform.shell.label_tag }} {% render_field field class="form-control is-valid" %} {% render_field userform.shell class="form-control" placeholder=userform.shell.label %}
{{ userform.gpg_fingerprint.label_tag }} {% render_field userform.gpg_fingerprint class="form-control" placeholder=userform.gpg_fingerprint.label %}
{% if load_js_file %} {% endif %}
{% if showCGU %}

{% trans "By clicking 'Create or edit', the user commits to respect the " %}{% trans "General Terms of Use" %}.

{% trans "Summary of the General Terms of Use" %}

{{ GTU_sum_up }}

{% endif %}


{% endblock %}