{% load i18n %}
<div class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
    {{ field.label }}
    {% if field.field.required %}<span class="text-red-600">*</span>{% endif %}
</div>
<label id="thumbnail_label" for="id_thumbnail"
       class=" {% if product.thumbnail %} hidden {% else %} flex {% endif %} relative flex-col items-center justify-center w-full h-64 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:bg-gray-700">
    <div class="f