Commit f5336124 authored by justin's avatar justin

misc: changed a href links to button HTML elements in dashboard

parent c4e28be0
......@@ -10,7 +10,9 @@
</a>
{% endfor %}
</ul>
<a href="../widgetusers/add">Add Widget User</a>
<form action="../widgetusers/add">
<button type="Submit">Add Widget User</button>
</form>
<div class="links">
<a href="../announcements">Announcements</a>
<a href="../forum">Forum</a>
......
......@@ -8,7 +8,7 @@
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Add Widget User" />
<button type="Submit">Add Widget User</button>
</form>
</div>
{% endblock %}
......@@ -9,5 +9,7 @@
<h2>{{ object.department.dept_name }}</h2>
<h2>{{ object.department.home_unit }}</h2>
</div>
<a href="../edit">Edit Widget User</a>
<form action="../edit">
<button type="Submit">Edit Widget User</button>
</form>
{% endblock %}
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