2017-07-18 16:30:55 +02:00
{% extends "authentic2/manager/form.html" %}
{% load i18n %}
{% block page-title %}
{% trans "Add an user" %}
{% endblock %}
2020-10-05 16:13:00 +02:00
{% block beforeform %}
{% if duplicate_users %}
< input type = "hidden" name = "confirm-creation-token" value = "{{ form.cleaned_data.first_name }} {{ form.cleaned_data.last_name }}" >
< div class = warningnotice >
< p > {% trans "This user may already exist, please check the list below before creating it :" %}< / p >
< ul class = "user-duplicates" >
{% for user in duplicate_users %}
{% include "authentic2/manager/duplicate_user_add.html" with user=user %}
{% endfor %}
< / ul >
< / div >
{% endif %}
{% endblock %}
2018-10-31 12:00:30 +01:00
{% block hidden_inputs %}
{{ block.super }}
2018-12-12 14:58:53 +01:00
{% if next %}< input type = "hidden" name = "next" value = "{{ next }}" > {% endif %}
2018-10-31 12:00:30 +01:00
{% endblock %}
2017-07-18 16:30:55 +02:00
{% block breadcrumb %}
{{ block.super }}
< a href = "{% url 'a2-manager-users' %}{% if multiple_ou and ou %}?search-ou={{ ou.pk }}{% endif %}" > {% trans 'Users' %}{% if multiple_ou and ou %} : {{ ou }}{% endif %}< / a >
< a href = "#" > {% trans "Add an user" %}< / a >
{% endblock %}