{% use 'bootstrap_4_layout.html.twig' %} {% block collection_widget %} {% set child = prototype %} {% set attr = attr|merge({class: (attr.class|default('') ~ ' js-collection-form')|trim}) %}
{% for child in form %}
{{ block('collection_entry_row') }}
{% endfor %}
{% if allow_add %}
{% if max_count_message is defined %}
{{ max_count_message }}
{% endif %}
{% endif %}
{% endblock %} {%- block collection_entry_row -%}
{{ form_label(child) }} {{ form_widget(child, {'allow_delete': allow_delete}) }}
{%- endblock -%} {%- block integer_widget -%} {%- set type = type|default('number') -%}
{{- block('form_widget_simple') -}} {% if form.vars.unit is defined %}
{{ form.vars.unit }}
{% endif %}
{%- endblock integer_widget -%} {% block form_label -%} {% if help is defined and help is not null %} {% endif %} {% if help is defined and help is not null and form.vars.compound %} {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' w-auto')|trim}) %} {% endif %} {{- parent() -}} {% if help is defined and help is not null %} {% endif %} {% if help is defined and help is not null %} {% endif %} {%- endblock form_label %} {% block checkbox_widget -%}
{%- endblock checkbox_widget %} {% block shipping_options_row %} {% if label is not same as(false) %} {% endif %} {{ form_errors(form) }} {{ form_rest(form) }} {% endblock %} {% block carrier_mappings_row %}
{% for child in form %}
{{ form_row(child) }}
{% endfor %}
{% endblock %} {% block service_options_row %} {% if label is not same as(false) %} {% endif %}
{{ form_row(form.additionalCost) }}
{{ form_rest(form) }}
{% endblock %} {% block time_of_week_range_row %} {{ form_rest(form) }} {% endblock %} {% block time_of_week_row %}
{{ form_label(form, null, {'compound': false }) }}
{{ form_widget(form.weekDay) }} {{ form_errors(form.weekDay) }}
{{ form_widget(form.time) }} {{ form_errors(form.time) }}
{{ form_rest(form) }}
{% endblock %} {% block form_help %}{% endblock %} {% block inpostizi_translatable_widget -%} {% set formClass = form.vars.attr.class|default('') ~ ' input-group locale-input-group js-locale-input-group d-flex'|trim %}
{% for translateField in form %} {% set classes = translateField.vars.attr.class|default('') ~ ' js-locale-input'%} {% set classes = classes ~ ' js-locale-' ~ translateField.vars.label %} {% if default_locale.id_lang != translateField.vars.name %} {% set classes = classes ~ ' d-none' %} {% endif %}
{{ form_widget(translateField, {'attr': {'class': translateField.vars.attr.class|default('') ~ ' w-100'}}) }}
{% endfor %} {% if not hide_locales %} {% endif %}
{%- endblock inpostizi_translatable_widget %} {% block inpostizi_switch_widget %} {% for choice in choices %} {% set inputId = id ~'_' ~ choice.value %} {% endfor %} {% endblock inpostizi_switch_widget %} {% block inpostizi_category_choice_tree_widget %}
expand_more {{ 'Expand'|trans({}, 'Admin.Actions') }}
{% endblock inpostizi_category_choice_tree_widget %} {% block inpostizi_category_choice_tree_item_widget %} {% set has_children = choice[choice_children] is defined %}
  • {% if multiple %} {{ block('inpostizi_category_choice_tree_item_checkbox_widget') }} {% else %} {{ block('inpostizi_category_choice_tree_item_radio_widget') }} {% endif %} {% if has_children %} {% endif %}
  • {% endblock inpostizi_category_choice_tree_item_widget %} {% block inpostizi_category_choice_tree_item_checkbox_widget %}
    {% endblock inpostizi_category_choice_tree_item_checkbox_widget %} {% block inpostizi_category_choice_tree_item_radio_widget %}
    {% endblock inpostizi_category_choice_tree_item_radio_widget %} {% block widget_display_configuration_row %}
    {% include '@Modules/inpostizi/views/templates/admin/config/gui/form.html.twig' with { form: form, } %}
    {% endblock widget_display_configuration_row %} {% block product_page_display_configuration_row %} {{ form_rest(form) }} {% endblock product_page_display_configuration_row %} {% block product_restrictions_row %}

    {{ form_label(form, null, { 'label_attr': { 'class': 'p-0' } }) }}

    {{ form_row((form.blockOrder)) }} {{ form_row(form.productTypes) }} {{ form_row(form.manufacturerIds) }} {{ form_row(form.attributeGroupIds) }} {{ form_row(form.featureIds) }}
    {{ form_row(form.categoryIds) }}
    {{ form_rest(form) }}
    {% endblock product_restrictions_row %} {% block choice_widget %} {% if expanded and multiple %} {% else %} {{ parent() }} {% endif %} {% endblock choice_widget %} {% block consent_widget %}
    {{ form_label(form.descriptions, null, { 'label_attr': { 'class': 'p-0 mb-2 d-inline' } }) }}
    {{ form_widget(form.descriptions) }}
    {{ form_label(form.requirementType, null, { 'label_attr': { 'class': 'p-0 mb-2' } }) }} {{ form_widget(form.requirementType) }}
    {% if allow_delete is defined and allow_delete %}
    {% endif %}
    {{ form_label(form.additionalLinks, null, { 'label_attr': { 'class': 'h4' } }) }} {{ form_row(form.link) }} {{ form_widget(form.additionalLinks) }} {{ form_rest(form) }} {% endblock %} {% block consent_link_widget %}
    {{ form_label(form.id, null, { 'label_attr': { 'class': 'p-0 mb-2' } }) }} {{ form_widget(form.id) }}
    {{ form_label(form.cmsPageId, null, { 'label_attr': { 'class': 'p-0 mb-2' } }) }} {{ form_widget(form.cmsPageId) }}
    {{ form_label(form.labels, null, { 'label_attr': { 'class': 'p-0 mb-2 d-inline' } }) }}
    {{ form_widget(form.labels) }}
    {% if allow_delete is defined and allow_delete %}
    {% endif %} {{ form_rest(form) }}
    {% endblock %}