{% extends 'blog/base.html' %}
{% load crispy_forms_tags %}
{% block content %}
    <div class="container" style="margin-top: 50px;">
        <h3>
            Create a Post
        </h3>
        <div class="card">
            <div class="container" style="margin-bottom: 20px; margin-top: 20px;" >
                <form method="POST" enctype="multipart/form-data">
                    {% csrf_token %}
                    {{form|crispy}}
                    <button type="submit" class="btn btn-primary">Submit</button>
                  </form>
            </div>
            
        </div>
    </div>
{% endblock content %}
    