{% extends 'base.html' %}

{% block content %}
<article>
    <header>
        <p><a href="{% url 'storefront:customer-detail' user.pk %}">&larr; Back</a></p>
        <h1>Create Address</h1>
    </header>
    <section>
        <form method="post" action="{% url 'storefront:customer-address-create' customer.pk %}">
            {% csrf_token %}
            {{ form.as_p }}
            <p>
                <input type="submit" value="Create address">
            </p>
        </form>
    </section>
</article>
{% endblock %}
