{% extends "dashboard.html" %}

{% block content %}
<article class="product">
    <header class="object__header">
        <h1>Create product</h1>
    </header>
    <section class="object__panel">
        <form class="panel__item" method="POST" action="{% url 'dashboard:product-create' %}">
            {% csrf_token %}
            {{form.as_p}}
            <p class="form__submit">
                <input class="action-button" type="submit" value="Create product"> or <a href="{% url 'dashboard:product-list' %}">cancel</a>
            </p>
        </form>
    </section>
</article>  
{% endblock %}
