app/Plugin/RefineProductImageAlt42/Resource/template/admin/Product/product_images_alt.twig line 1

Open in your IDE?
  1. {% if form.product_image_alts | length > 0 %}
  2.     <div class="row">
  3.         <div class="col-3">
  4.             <div class="d-inline-block" data-tooltip="true" data-original-title="{{ 'tooltip.product.product_image_alt'|trans }}">
  5.                 <span>{{ 'admin.product.product_image_alt'|trans }}</span>
  6.                 <i class="fa fa-question-circle fa-lg ml-1"></i>
  7.             </div>
  8.         </div>
  9.         <div class="col mb-2">
  10.             {% for product_image_alt_form in form.product_image_alts %}
  11.                 <div class="mb-2">
  12.                     {{ form_widget(product_image_alt_form.alt_text, { attr : { placeholder : '商品画像('~ loop.index ~') alt設定' }}) }}
  13.                     {{ form_errors(product_image_alt_form.alt_text) }}
  14.                 </div>
  15.             {% endfor %}
  16.         </div>
  17.     </div>
  18. {% endif %}