mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Maintenance][Shop] Fix case of form directory
This commit is contained in:
parent
bbd07cbd40
commit
8fec06f2ce
19 changed files with 18 additions and 18 deletions
|
|
@ -101,7 +101,7 @@ Let's remove the registration column in this example:
|
|||
|
||||
{% extends '@SyliusShop/shared/layout/base.html.twig' %}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
{% block title %}{{ 'sylius.ui.customer_login'|trans }} | {{ parent() }}{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div {{ attributes }}>
|
||||
{{ form_start(form, {'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate', 'id': form.vars.id}}) }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
{# Rendered with \Sylius\Bundle\ShopBundle\Twig\Component\Account\ChangePassword\FormComponent #}
|
||||
|
||||
<div {{ attributes }} class="mb-4 position-relative">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{% set form = hookable_metadata.context.form %}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div>
|
||||
{{ form_start(form, {'action': path('sylius_shop_request_password_reset_token'), 'attr': {'novalidate': 'novalidate'}}) }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{% extends '@SyliusShop/shared/layout/base.html.twig' %}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
{% block title %}{{ 'sylius.ui.customer_login'|trans }} | {{ parent() }}{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div {{ attributes }}>
|
||||
{{ form_start(form, {'action': path('sylius_shop_account_profile_update'), 'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate'}}) }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div class="container" {{ attributes }}>
|
||||
{{ form_start(form, {'action': path('sylius_shop_register'), 'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate', 'id': form.vars.id}}) }}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{% set form = hookable_metadata.context.form %}
|
||||
{% set user = hookable_metadata.context.user %}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
{{ form_start(form, {'action': path('sylius_shop_password_reset', {'token' : user.passwordResetToken}), 'attr': {'novalidate': 'novalidate'}}) }}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% import '@SyliusShop/shared/messages.html.twig' as messages %}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div {{ attributes }} >
|
||||
{% if cart.empty %}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{# Rendered with \Sylius\Bundle\ShopBundle\Twig\Component\Checkout\Address\FormComponent #}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div {{ attributes }}>
|
||||
{{ form_start(form, {'action': path('sylius_shop_checkout_address'), 'attr': {'novalidate': 'novalidate'}}) }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{% set form = hookable_metadata.context.form %}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
{{ form_start(form, {'action': path('sylius_shop_checkout_complete'), 'attr': {'novalidate': 'novalidate'}}) }}
|
||||
{{ form_errors(form) }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{# Rendered with \Sylius\Bundle\ShopBundle\Twig\Component\Checkout\Payment\FormComponent #}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div {{ attributes }}>
|
||||
{{ form_start(form, {'action': path('sylius_shop_checkout_select_payment'), 'attr': {'novalidate': 'novalidate'}}) }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{# Rendered with \Sylius\Bundle\ShopBundle\Twig\Component\Checkout\Shipping\FormComponent #}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div>
|
||||
{{ form_start(form, {'action': path('sylius_shop_checkout_select_shipping'), 'attr': {'novalidate': 'novalidate'}}) }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{% extends '@SyliusShop/shared/layout/base.html.twig' %}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
{% block title %}{{ 'sylius.ui.contact_us'|trans }} | {{ parent() }}{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
{% if form.type is defined %}
|
||||
{{ form_row(form.type, {'label': filter.label}) }}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
{% set order = hookable_metadata.context.order %}
|
||||
{% set form = hookable_metadata.context.form %}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
{% if order.paymentState == constant('Sylius\\Component\\Core\\OrderPaymentStates::STATE_AWAITING_PAYMENT') %}
|
||||
{{ form_start(form, {'action': path('sylius_shop_order_show', {'tokenValue': order.tokenValue}), 'attr': {'novalidate': 'novalidate'}}) }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{# Rendered with \Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent #}
|
||||
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div class="position-relative" {{ attributes }}>
|
||||
{% if product.enabledVariants.empty() or product.simple and not sylius_inventory_is_available(product.enabledVariants.first) %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{# Rendered with \Sylius\Bundle\ShopBundle\Twig\Component\ProductReview\FormComponent #}
|
||||
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
|
||||
{% form_theme form '@SyliusShop/form/theme.html.twig' %}
|
||||
|
||||
<div {{ attributes }} class="mb-4 position-relative">
|
||||
<div data-loading>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue