changed name of templates DetailView to assignment_detail and ListView to assignment_list

parent 76ecb59b
......@@ -22,7 +22,7 @@
<li>No assignments found.</li>
{% else %}
{% for assignment in course.assignment_set.all %}
<a class="table-links" href='{{request.path}}{{assignment.pk}}/details'><li class="assignment-name">{{assignment.name}}</li></a>
<a class="table-links" href='{{request.path}}{{assignment.pk}}/details'><li class="assignment-name">{{assignment.name}}</li></a><br>
{% endfor %}
{% endif %}
</ul>
......@@ -30,4 +30,8 @@
<div class="table-gutter"></div>
{% endfor %}
{% endif %}
<a class="new-user-link" href="/assignments/add">Add Assignment</a>
<div class="table-gutter"></div>
<div class="table-gutter"></div>
<div class="table-gutter"></div>
{% 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