clean up
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{% extends "generic/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Users</h2>
|
||||
<ul>
|
||||
{% for user in object_list %}
|
||||
<li>Username: <a href="{% url 'account_profile' user.username %}">{{ user.username }}</a><br/>
|
||||
Name: {{user.first_name}} {{user.last_name}}<br/>
|
||||
Registration number: {{user.registration_number}}
|
||||
<button class="small-url-button"><a href="{% url 'account_update' user.username %}">Edit user</a></button>
|
||||
<button class="small-url-button"><a href="{% url 'account_profile_update' user.username %}">Edit profile</a></button>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user