{% extends 'layouts/base.html' %}

{% block content %}
<section class="container">
    <form action="/add-post" method="POST">
        {{ form.csrf_token }}

        <div class="form-group">
            {{ form.title.label }}
            {{ form.title(size=30, class='form-control') }}
        </div>
        <div class="form-group">
            {{ form.content.label }}
            {{ form.content(rows=9, class='form-control')}}
        </div>
        <div class="form-group">
            <div class="pull-right">
                <button class="btn btn-primary btn-lg"type="submit">Submit</button>
            </div>
        </div>
    </form>
</section>
{% endblock %}

{% extends 'layouts/base.html' %}

{% block content %}
<section class="container">
    <h1>Add a Post</h1>
    <p>Fill out this form to add a post to the forum.</p>
    <form action="/add-post" method="POST">
        {{ form.csrf_token }}

        <div class="form-group">
            {{ form.title.label }}
            {{ form.title(size=30, class='form-control') }}
        </div>
        <div class="form-group">
            {{ form.content.label }}
            {{ form.content(rows=9, class='form-control')}}
        </div>
        <div class="form-group">
            <div class="pull-right">
                <button class="btn btn-primary btn-lg"type="submit">Submit</button>
            </div>
        </div>
    </form>
</section>
{% endblock %}

Add h1 and p to add-post form
Add h1 and p to add-post form
