Files
penracourses/templates/user_update.html
T

10 lines
447 B
HTML

{% extends 'generic/base.html' %}
{% load crispy_forms_tags %}
{% block content %}
<h2>Editing user: {{object.username}}</h2>
This form allows you to edit the users name and email address. More details (such as grade / supervisor / etc...) can be changed <a href="{% url 'account_profile_update' object.username %}">here</a>
<form method="post">{% csrf_token %}
{{ form|crispy }}
<input type="submit" value="Update">
</form>
{% endblock %}