{% extends "base.html" %} {% load static %} {% block title %}{{ object.title }}{% endblock %} {% block header %} {% endblock %} {% block content %}

{{ object.title }}

{{ object.title }}
{% for materi in object.materi.all %}
cover
{{ materi.title }}

{{ materi.author }}

Baca Detail
{% endfor %}
{{ object.description|safe }}

{{ object.user.name }}

{{ object.updated_at }}

{% if object.user.id == request.user.id %} Delete {% endif %}
{% for comment in object_list %}
{% if comment.materi.count == 0 %}
{% else %}
{% endif %} {% for materi in comment.materi.all %}
cover
{{ materi.title }}

{{ materi.author }}

Baca Detail
{% endfor %}
{{ comment.description|safe }}

{{ comment.user.name }}

{{ comment.updated_at }}

{% if comment.user.id == request.user.id %} Delete {% endif %}
{% endfor %}
{% if user.is_authenticated %}
{% csrf_token %}
{{ form.description }}
{{ form.materi }}
{% else %}
Login Required

You need to log in first before commenting on this page!

Login {% endif %}
{% include 'forum/forum_pagination.html' %}
{% endblock content %} {% block extra_scripts %} {% endblock extra_scripts %}