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