Fixed all errors, server now operates properly.

parent b9fc3671
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
{% block body %} {% block body %}
<p> Widget User:</p> <p> Widget User:</p>
<ul> <ul>
{% for name in object_list %} {% for name in widgetuser_list %}
<li> <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> </li>
{% endfor %} {% endfor %}
</ul> </ul>
<p> <a href = "/dashboard/widgetusers/add">Add Widget User</a> <button><a href = "dashboard/widgetusers/add">Add Widget User</a></button>
</p> </p>
<a href = "/forum/">Forum</a> <br> <a href = "/forum/">Forum</a> <br>
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
{% block title %}{{ object.last_name }}, {{ object.first_name }}{% endblock %} {% block title %}{{ object.last_name }}, {{ object.first_name }}{% endblock %}
{% block header %}{{ object.first_name }} {{ object.middle_name }} {{ object.last_name }}{% endblock %} {% block header %}{{ object.first_name }} {{ object.middle_name }} {{ object.last_name }}{% endblock %}
{% block body %} {% block body %}
<p>{{object.dept_name}}</p> <p>{{object.department.dept_name}}</p>
<p>{{object.home_unit}}</p> <p>{{object.department.home_unit}}</p>
<a href="/dashboard/widgetusers/{{object.pk}}/edit"><button>Edit Widget User</button></a> <button>
<a href="edit">Edit Widget User</a></button>
<button><a href = "/dashboard">Dashboard</a></button>
{% endblock %} {% 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