{% from 'developers/includes/macros.html' import empty_unless, flags, some_html_tip, tip %}
{{ csrf() }}

Admin Settings {% if not editable %} {{ _('Edit') }} {% endif %}

Large Promo Graphic (264px × 184px) {% set preview = addon.get_promo() %} {% if editable and form %} {{ form.non_field_errors() }}
  {% if preview %}
{% else %}
{% endif %} {{ form.DELETE }}{{ form.DELETE.label_tag() }}
x
{{ form.upload_hash }} {{ form.unsaved_image_type }} {{ form.unsaved_image_data }}
{{ form.file_upload.errors }}
{% else %} {% call empty_unless(preview) %}
{% endcall %} {% endif %}
{% if editable and form %} {{ form.mozilla_contact }} {{ form.mozilla_contact.errors }} {% else %} {{ addon.mozilla_contact }} {% endif %}
{% if editable %} {% endif %}