{% extends "notes/base.html" %}
{% load crispy_forms_tags %}
{% block content %}
<div class="content-section shadow">
    <p><a href="{%url 'forum:list'%}">Go Back</a></p>
    <form method="POST" autocomplete="off" enctype="multipart/form-data">
        {% csrf_token %}
        <fieldset class="form-group">
            <legend class="border-bottom mb-4">Query</legend>
            <small>We urge you to read the <a href="{%url 'forum:guidelines'%}">Guidelines</a> first.</small>
            <br>
            {{form.media}}
            {{ form|crispy }}
        </fieldset>
        <div class="form-group">
            <button class="btn btn-outline-info" type="submit">Post it!</button>
        </div>
    </form>
</div>

{% endblock content %}