fixed to match new base.html

parent dad1d942
......@@ -9,15 +9,16 @@
{{assignment.name}}
{% endblock %}
{% block content %}
<h2>Assignment Details</h2>
{% block header %}Assignment Details{% endblock %}
{% block content %}
<span id="details">
Course: {{assignment.course.code}} {{assignment.course.title}} {{assignment.course.section}}<br>
Name: {{assignment.name}}<br>
Description: {% if assignment.description != None and assignment.description != '' %}{{ assignment.description }}{% else %}No description provided.{% endif %}<br>
Perfect score: {{assignment.max_points}}<br>
Passing score: {{assignment.passing_score}}<br>
Image: <br>
Image: {% if assignment.image != None %}<br>{{assignment.image}}{% else %}No image provided.{% endif %}<br>
</span>
{% 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