mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Admin] Use specific block names in shipping method form theme
This commit is contained in:
parent
bcbd15e70e
commit
e90e837dd3
1 changed files with 5 additions and 5 deletions
|
|
@ -1,10 +1,10 @@
|
|||
{% extends '@SyliusAdmin/shared/form_theme.html.twig' %}
|
||||
|
||||
{%- block live_collection_widget -%}
|
||||
{%- block _sylius_admin_shipping_method_rules_widget -%}
|
||||
{{ block('form_widget') }}
|
||||
{%- endblock live_collection_widget -%}
|
||||
{%- endblock -%}
|
||||
|
||||
{%- block live_collection_entry_row -%}
|
||||
{%- block _sylius_admin_shipping_method_rules_entry_row -%}
|
||||
<div id="{{ id }}" {{ block('attributes') }} {{ sylius_test_html_attribute('entry-row') }}>
|
||||
{{- form_errors(form) -}}
|
||||
{{- form_row(form.type) -}}
|
||||
|
|
@ -19,9 +19,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{%- endblock live_collection_entry_row -%}
|
||||
{%- endblock -%}
|
||||
|
||||
{% block add_button_row %}
|
||||
{% block _sylius_admin_shipping_method_rules_add_row %}
|
||||
{% if types is not empty %}
|
||||
<div class="dropdown">
|
||||
<button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown">{{ label|trans }}</button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue