diff --git a/templates/bundles/SyliusAdminBundle/ShippingMethod/_form.html.twig b/templates/bundles/SyliusAdminBundle/ShippingMethod/_form.html.twig new file mode 100644 index 0000000..4ec16eb --- /dev/null +++ b/templates/bundles/SyliusAdminBundle/ShippingMethod/_form.html.twig @@ -0,0 +1,44 @@ +{% from '@SyliusAdmin/Macro/translationForm.html.twig' import translationForm %} + +
+
+
+ {{ form_errors(form) }} +
+ {{ form_row(form.code) }} + {{ form_row(form.zone) }} + {{ form_row(form.position) }} +
+ {{ form_row(form.enabled) }} +

{{ 'sylius.ui.availability'|trans }}

+ {{ form_row(form.channels) }} +

{{ 'sylius.ui.category_requirements'|trans }}

+ {{ form_row(form.category) }} + {% for categoryRequirementChoiceForm in form.categoryRequirement %} + {{ form_row(categoryRequirementChoiceForm) }} + {% endfor %} +

{{ 'sylius.ui.taxes'|trans }}

+ {{ form_row(form.taxCategory) }} +

{{ 'sylius.ui.shipping_charges'|trans }}

+ {{ form_row(form.calculator) }} + {% for name, calculatorConfigurationPrototype in form.vars.prototypes %} +
+
+ {% endfor %} +
+ {% if form.configuration is defined %} + {% for field in form.configuration %} + {{ form_row(field) }} + {% endfor %} + {% endif %} +
+
+
+
+ {{ translationForm(form.translations) }} + {{ 'app.form.extension.type.shipping_method_translation.delivery_conditions'|trans~' '~'sylius.ui.message'|trans|lower~': ' }} +

{{ shipping_method.getDeliveryConditions }}

+
+
+