Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix markup

dominik-zeglen718fd0f19587
diff --git a/templates/dashboard/product/product_image/form.html b/templates/dashboard/product/product_image/form.html
index 938d3c80a3..ddfe24b6e5 100644
--- a/templates/dashboard/product/product_image/form.html
+++ b/templates/dashboard/product/product_image/form.html
@@ -62,22 +62,13 @@
{% block content %}
<div class="row">
- <div class="col s12 m9">
+ <div class="col s12 l9">
<div class="card">
<form method="post" enctype="multipart/form-data">
<div class="card-content">
{% csrf_token %}
<div class="row">
- <div class="col s12 m8">
- <div class="row">
- {{ form.image|materializecss }}
- </div>
- {% if product_image.pk %}
- <p class="no-margin">
- {% trans "Pick the most relevant part of the image using the red circle." context "Image form text" %}
- </p>
- {% endif %}
- </div>
+ {{ form.image|materializecss }}
</div>
<div class="row">
{{ form.alt|materializecss }}
diff --git a/templates/dashboard/product/product_image/versatile_image.html b/templates/dashboard/product/product_image/versatile_image.html
index 247fe1ec8d..6deb768f1a 100644
--- a/templates/dashboard/product/product_image/versatile_image.html
+++ b/templates/dashboard/product/product_image/versatile_image.html
@@ -6,6 +6,9 @@
<label class="versatileimagefield-label">
{% trans "Primary Point of Interest" %}
</label>
+ <p class="no-margin">
+ {% trans "Pick the most relevant part of the image using the red circle." context "Image form text" %}
+ </p>
<div class="image-wrap outer">
<div class="point-stage" id="{{ widget.point_stage_id }}"
data-image_preview_id="{{ widget.image_preview_id }}">