NDOJ/templates/course/resource-content.html
2023-03-01 20:40:49 +07:00

12 lines
No EOL
408 B
HTML

<h1> {{ object }} </h1>
<h2> This resource belong to {{ object.course }}</h2>
<h3> {{ object.description }}</h3>
<div>
{% if object.files != None %}
<div> <a href="{{ object.files.url}}" target="_blank"> See files </a> </div>
{% endif %}
<div> <a href="/courses/{{ object.course.pk }}-{{ object.course.slug }}/resource/{{ object.pk }}/edit"> Edit
Resource </a> </div>
</div>