feat: added template to forum post form page

parent 9c1bab0c
{% extends "base.html" %}
{% block page-title %}New Forum Post{% endblock %}
{% block content %}
<div style = "position: relative; left:80px; top:30px;">
<h1>NEW FORUM POST</h1>
</div>
<div style = "position: relative; left:80px; top:30px;">
<form method="POST" action ="{% url 'homepage:add' %}" enctype="multipart/form-data">
{% csrf_token %}
{{ user_form.as_p }}
<button class="button" type="Save Post">Save Post</button>
<button onclick="location.href = '/forum'">Return to Forum Posts</button>
</form>
</div>
{% 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