Fixed all errors, server now operates properly.

parent b9fc3671
......@@ -5,13 +5,13 @@
{% block body %}
<p> Widget User:</p>
<ul>
{% for name in object_list %}
{% for name in widgetuser_list %}
<li>
<a href="/dashboard/widgetusers/{{ name.pk }}/details/"> {{ name.last_name }}, {{name.first_name }} </a><br>
<a href="{{ name.pk }}/details"> {{ name.last_name }}, {{name.first_name }} </a><br>
</li>
{% endfor %}
</ul>
<p> <a href = "/dashboard/widgetusers/add">Add Widget User</a>
<button><a href = "dashboard/widgetusers/add">Add Widget User</a></button>
</p>
<a href = "/forum/">Forum</a> <br>
......
......@@ -4,7 +4,9 @@
{% block title %}{{ object.last_name }}, {{ object.first_name }}{% endblock %}
{% block header %}{{ object.first_name }} {{ object.middle_name }} {{ object.last_name }}{% endblock %}
{% block body %}
<p>{{object.dept_name}}</p>
<p>{{object.home_unit}}</p>
<a href="/dashboard/widgetusers/{{object.pk}}/edit"><button>Edit Widget User</button></a>
<p>{{object.department.dept_name}}</p>
<p>{{object.department.home_unit}}</p>
<button>
<a href="edit">Edit Widget User</a></button>
<button><a href = "/dashboard">Dashboard</a></button>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment