{% extends 'layout.html' %}

{% block title %}
   New PDF
{% endblock %}

{% block content %}
    <section>
        <h1>New PDFt</h1>
        <form class="form-with-validation" action="{% url 'post:pdf_page' %}" method="post" enctype="multipart/form-data">
            {% csrf_token %} 
            {{ form }}
            <button class="form-submit">Add Post</button>
        </form>
    </section>
{% endblock %}