Commit cdba66ae authored by Alliyah Marcelo's avatar Alliyah Marcelo

Modified forumpost-details.html to display Forum details page.

parent c1b3e4b0
forumpost-details
\ No newline at end of file
{% extends 'base.html' %}
{% load static %}
{% block title %}{{ object.title }}{% endblock %}
{% block heading %}
<h1>
{{ object.title }}
</h1>
{% endblock %}
{% block content %}
<p>
by {{ object.author }}<br>
{{ object.pub_datetime }}<br>
{{ object.body }}<br>
</p>
<p>
POST REPLIES:
by {{ object.reply.author }}<br>
{{ object.reply.pub_datetime }}<br>
{{ object.reply.body }}<br>
</p>
{% endblock %}
{% block footing %}
<a href="{% url 'forum:forumpost-update' object.pk %}">
<button class="btn edit">Edit Post</button>
</a>
{% 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