Complete supervisor model and start improving forms

This commit is contained in:
Ross
2022-11-28 09:50:07 +00:00
parent 653baa85ff
commit 747bf93373
27 changed files with 309 additions and 183 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
{% extends 'generic/base.html' %}
{% load crispy_forms_tags %}
{% block content %}
<h2>Editing user: {{object.username}}</h2>
This form allows you to edit additional user details. Name and emails can be edited <a href="{% url 'account_update' object.username %}">here</a>
<form method="post">{% csrf_token %}
{{ form.as_p }}
{{ form|crispy }}
<input type="submit" value="Update">
</form>
{% endblock %}