Commit 80bae545 authored by Alliyah Marcelo's avatar Alliyah Marcelo

Modified forumpost-add.html tto display Forum add page.

parent cdba66ae
forumpost-add {% extends 'base.html' %}
\ No newline at end of file {% load static %}
{% block title %}Add Post{% endblock %}
{% block heading %}<h1>Add a new post:</h1>{% endblock %}
{% block content %}
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Save New Post">
</form>
{% endblock %}
\ No newline at end of file
...@@ -15,13 +15,6 @@ ...@@ -15,13 +15,6 @@
{{ object.pub_datetime }}<br> {{ object.pub_datetime }}<br>
{{ object.body }}<br> {{ object.body }}<br>
</p> </p>
<p>
POST REPLIES:
by {{ object.reply.author }}<br>
{{ object.reply.pub_datetime }}<br>
{{ object.reply.body }}<br>
</p>
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
......
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