{% extends 'noel/base.html' %} {% load crispy_forms_tags %} {% block extra_head %} {% endblock %} {% block content %}
{% if form.errors %}
Please correct the errors below and re-submit.
{% endif %}
{% csrf_token %}
{% crispy form form.helper %} {% for inline in inlines %}

{{inline.title }}

{% if inline.help_text %}
{{ inline.help_text }}
{% endif %}
{% crispy inline inline.form.helper %}
{% endfor %}

Multimedia

{% if new %}
Please save before you can add media galleries to this.
{% else %}
{% if not galleries %} You haven't added any galleries yet. {% else %} Click an existing gallery to edit: {% endif %}
{% if galleries %}
{% for gallery in galleries %} {% endfor %}
{% endif %} + Add New Media Gallery {% endif %} {% comment %} close if not edit conditional {% endcomment %}

{% endblock %}