{% load static %}
{% include "../includes/add_list.html" with xprez_admin=xprez_admin before_content=content %}
{% block js %}{% endblock %}
{% block hidden_form %} {{ content.admin_form.position }} {{ content.admin_form.visible }} {{ content.admin_form.css_class }} {{ content.admin_form.margin_bottom }} {% endblock %}

{{ content.verbose_name }} {% if content.css_class %}class: {{ content.css_class }}{% endif %} {% if content.margin_bottom != content.MARGIN_DEFAULT %}bottom: {{ content.get_margin_bottom_display }}{% endif %}

  • {% for value, label in content.admin_form.margin_bottom.field.choices %}
  • {{ label }}
  • {% endfor %}
{% block options %}{% endblock %}
{% block errors %} {% if content.admin_form.non_field_errors %}
    {% for error in content.admin_form.non_field_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %} {% endblock %} {% block content %}
{% if content.preview_image %} {% endif %} {% for field in content.admin_form.main_fields %} {% include 'xprez/admin/form/row.html' with field=field%} {% endfor %}
{% endblock %}