tag

{% form 'contact' %} {% if form.posted_successfully? %}

Thanks! We will notify you when this product becomes available!

{% else %}

Click here to be notified by email when {{ product.title }} becomes available.

{% endif %} {% if form.errors %} {% endif %} {% unless form.posted_successfully? %} {% endunless %}{% endform %}
{% endunless %}