[Maintenance][Shop] Fix case of form directory

This commit is contained in:
Jan Goralski 2024-09-17 14:42:37 +02:00 committed by Grzegorz Sadowski
parent bbd07cbd40
commit 8fec06f2ce
19 changed files with 18 additions and 18 deletions

View file

@ -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 %}

View file

@ -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}}) }}

View file

@ -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">

View file

@ -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'}}) }}

View file

@ -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 %}

View file

@ -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'}}) }}

View file

@ -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}}) }}

View file

@ -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'}}) }}

View file

@ -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 %}

View file

@ -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'}}) }}

View file

@ -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) }}

View file

@ -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'}}) }}

View file

@ -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'}}) }}

View file

@ -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 %}

View file

@ -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}) }}

View file

@ -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'}}) }}

View file

@ -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) %}

View file

@ -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>