vendor/shopware/storefront/Resources/views/storefront/component/review/review-login.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/account/login.html.twig' %}
  2. {% block component_account_login_header %}
  3.     <h2 class="card-title">
  4.         {{ "detail.reviewLoginHeader"|trans|sw_sanitize }}
  5.     </h2>
  6. {% endblock %}
  7. {% block component_account_login_form_description %}
  8.     <p class="login-form-description">
  9.         {{ "detail.reviewLoginDescription"|trans|sw_sanitize }}
  10.         <a href="{{ path('frontend.account.login.page') }}"
  11.            title="{{ "detail.reviewRegisterLink"|trans|striptags }}">
  12.             {{ "detail.reviewRegisterLink"|trans|sw_sanitize }}
  13.         </a>
  14.     </p>
  15. {% endblock %}
  16. {% block component_account_login_form_redirect %}
  17.     <input type="hidden"
  18.            name="redirectTo"
  19.            value="{{ activeRoute }}">
  20.     <input type="hidden"
  21.            name="redirectParameters"
  22.            value='{
  23.             "productId": "{{ reviews.productId }}",
  24.             "id": "{{ cmsPage.id }}",
  25.             "navigationId": "{{ page.header.navigation.active.id }}"}'>
  26. {% endblock %}
  27. {% block component_account_login_submit %}
  28.     <div class="{{ floatStartClass }}">
  29.         {{ parent() }}
  30.     </div>
  31.     <div class="login-cancel">
  32.         {% block page_product_detail_review_form_cancel %}
  33.             <a href="#"
  34.                class="btn btn-outline-secondary {{ marginStartClass }}-1"
  35.                {{ dataBsToggleAttr }}="collapse"
  36.                {{ dataBsTargetAttr }}=".multi-collapse"
  37.                aria-expanded="false"
  38.                aria-controls="review-form review-list">
  39.                 {{ "detail.reviewLoginCancelButton"|trans|sw_sanitize }}
  40.             </a>
  41.         {% endblock %}
  42.     </div>
  43. {% endblock %}