17 lines
607 B
HTML
17 lines
607 B
HTML
{% extends 'generic/base.html' %}
|
|
{% load crispy_forms_tags %}
|
|
{% load auth_extras %}
|
|
|
|
{% block content %}
|
|
<h2>Editing user: {{object.username}}</h2>
|
|
This form allows you to edit your profile details. If your supervisor is not available on the system please contact: ross.kruger@nhs.net.
|
|
|
|
{% if request.user|has_group:"cid_user_manager" %}
|
|
Name and emails can be edited <a href="{% url 'account_update' object.username %}">here</a>
|
|
{% endif %}
|
|
|
|
<form method="post">{% csrf_token %}
|
|
{{ form|crispy }}
|
|
<input type="submit" value="Update">
|
|
</form>
|
|
{% endblock %} |