{% extends 'base.html' %}
{% load static %}

    {% block styles %}
        <link rel="stylesheet" type="text/css" href="{% static 'forum/style.css' %}">   
    {% endblock %}

{% block title %}New Forum Post{% endblock %}

{% block content %}
    <h1>New Forum Post</h1>
    <div>
        <form action="add" method="post">
            {% csrf_token %}
            <ul>
                <li>Title: {{ form.post_title }}</li>
                <li>Body: {{ form.post_body }}</li>
                <li>Author: {{ form.author }}</li>
                <li>Image: {{ form.post_image }}</li>
            </ul>
            <input type="submit" value="Save Post" style="float:right;font-size:100%">
        </form>
    </div>
{% endblock  %}