mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
[Admin] Improve payment method styling
This commit is contained in:
parent
3dc269f189
commit
4dc6181179
11 changed files with 18 additions and 13 deletions
|
|
@ -20,15 +20,17 @@ twig_hooks:
|
|||
template: '@SyliusAdmin/payment_method/form/sections/gateway_configuration.html.twig'
|
||||
translations:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/translations.html.twig'
|
||||
|
||||
'sylius_admin.payment_method.create.content.form.sections.general':
|
||||
code:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/code.html.twig'
|
||||
enabled:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/enabled.html.twig'
|
||||
position:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/position.html.twig'
|
||||
enabled:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/enabled.html.twig'
|
||||
channels:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/channels.html.twig'
|
||||
|
||||
'sylius_admin.payment_method.create.content.form.sections.gateway_configuration':
|
||||
type:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/gateway_configuration/type.html.twig'
|
||||
|
|
|
|||
|
|
@ -22,18 +22,21 @@ twig_hooks:
|
|||
template: '@SyliusAdmin/payment_method/form/sections/gateway_configuration.html.twig'
|
||||
translations:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/translations.html.twig'
|
||||
|
||||
'sylius_admin.payment_method.update.content.form.sections.general':
|
||||
code:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/code.html.twig'
|
||||
enabled:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/enabled.html.twig'
|
||||
position:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/position.html.twig'
|
||||
enabled:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/enabled.html.twig'
|
||||
channels:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/general/channels.html.twig'
|
||||
|
||||
'sylius_admin.payment_method.update.content.form.sections.gateway_configuration':
|
||||
type:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/gateway_configuration/type.html.twig'
|
||||
|
||||
'sylius_admin.payment_method.update.content.form.sections.translations':
|
||||
type:
|
||||
template: '@SyliusAdmin/payment_method/form/sections/translations/translations.html.twig'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.gatewayConfig.config.password, sylius_test_form_attribute('password')|merge({ label_attr: { class: 'checkbox-switch' } })) }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.gatewayConfig.config.sandbox, sylius_test_form_attribute('sandbox')|merge({ label_attr: { class: 'checkbox-switch' } })) }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.gatewayConfig.config.signature, sylius_test_form_attribute('signature')|merge({ label_attr: { class: 'checkbox-switch' } })) }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.gatewayConfig.config.username, sylius_test_form_attribute('username')|merge({ label_attr: { class: 'checkbox-switch' } })) }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.gatewayConfig.config.publishable_key, sylius_test_form_attribute('publishable-key')|merge({ label_attr: { class: 'checkbox-switch' } })) }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.gatewayConfig.config.secret_key, sylius_test_form_attribute('secret-key')|merge({ label_attr: { class: 'checkbox-switch' } })) }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.gatewayConfig.factoryName, sylius_test_form_attribute('factory-name')|merge({ label_attr: { class: 'checkbox-switch' } })) }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.code, sylius_test_form_attribute('code')) }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<div class="col-12 col-md-9">
|
||||
<div class="col-12 col-md-6">
|
||||
{{ form_row(hookable_data.form.position, sylius_test_form_attribute('position')) }}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue