app/Plugin/TabaCustomFields2/Resource/template/snippet/shopping_confirm.twig line 1

Open in your IDE?
  1. <script>
  2.     $(function () {
  3.         $('.ec-orderRole__detail').append($('#tabacustomfields2_shopping_confirm'));
  4.     });
  5. </script>
  6. <div id="tabacustomfields2_shopping_confirm">
  7.     {% for f in form|filter(f => f.vars.eccube_form_options.auto_render and f.vars.name matches '[^plg_custom_field*]') %}
  8.         <div class="ec-tabaCustomFields">
  9.             {% if f.vars.eccube_form_options.form_theme %}
  10.                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  11.                 {{ form_row(f) }}
  12.             {% else %}
  13.             <div class="ec-rectHeading">
  14.                 <h2>{{ form_label(f) }}</h2>
  15.             </div>
  16.             <div>
  17.                 <div>
  18.                 {% if (f.vars.data is iterable) %}
  19.                     {{ f.vars.data|join(', ') }}
  20.                 {% else %}
  21.                     {{ f.vars.data }}
  22.                 {% endif %}
  23.                 {{ form_widget(f, {attr: {readonly: 'readonly', class: 'd-none'}}) }}
  24.                 </div>
  25.             </div>
  26.             {% endif %}
  27.         </div>
  28.     {% endfor %}
  29. </div>