{% extends "dashboard/base.html" %} {% load i18n %} {% load materializecss %} {% load static %} {% block title %} {% if product_image.pk %} {{ product_image.image.name }} {% else %} {% trans "Add image" %} {% endif %} - {{ block.super }} {% endblock %} {% block body_class %}body-store body-products{% endblock %} {% block header_menu %} {% url "dashboard:product-update" pk=product.pk as url %} {% include "dashboard/includes/_back-link.html" with url=url hash="#images" %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block menu_catalogue_class %} active{% endblock %} {% block content %}
{% csrf_token %} {% if product_image.pk %}

{% trans "Pick the most relevant part of the image using the red circle." %}

{% endif %}
{{ form.image|materializecss }} {{ form.alt|materializecss }} {{ form.variants|materializecss }}
{% if product_image.pk %} {% else %} {% endif %}
{% endblock %}