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.
authentic2-pratic/src/authentic2_pratic/templates/authentic2_pratic/user_edit.html

34 lines
1.2 KiB
HTML

{% extends "authentic2_pratic/form.html" %}
{% load i18n %}
{% block page-title %}{{ block.super }} - {% trans "Edit user" %} {{ object }}{% endblock %}
{% block page_title %}{% trans "Edit user" %} {{ object }}{% endblock %}
{% block more-user-links %}
{{ block.super }}
<a href="{% url 'a2-pratic-collectivities' %}">{% trans "Collectivities management" %}</a>
<a href="{% url 'a2-pratic-collectivity-edit' collectivity_pk=collectivity.pk %}">{{ collectivity }}</a>
<a href="{% url 'a2-pratic-users' collectivity_pk=collectivity.pk %}">{% trans "Agents management" %}</a>
<a href="#">{{ object.get_full_name }}</a>
{% endblock %}
{% block appbar %}
<h2>{{ object.get_full_name }}</h2>
{% endblock %}
{% block beforeform %}
<p>
<label for="id_uuid">{% trans "UUID" %}&nbsp;:</label>
<input disabled type="text" id="id_uuid" value="{{ form.instance.uuid }}"/>
</p>
{% endblock %}
{% block afterform %}
{% if object.passwordreset_set.exists %}
<div class="warning-box">{% trans "User must change its password on next access to authentic" %}
<input type="submit" name="delete_password_reset" value="{% trans "Cancel this constraint" %}"/>
</div>
{% endif %}
{% endblock %}