custom/plugins/KayloBasicTheme/src/Resources/views/storefront/page/product-detail/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="frontend.detail.page">
  20.     <input type="hidden"
  21.            name="redirectParameters"
  22.            value='{"productId": "{{ reviews.productId }}"}'>
  23. {% endblock %}
  24. {% block component_account_login_submit %}
  25.     <div class="float-left">
  26.         {{ parent() }}
  27.     </div>
  28.     <div class="login-cancel">
  29.         {% block page_product_detail_review_form_cancel %}
  30.             <a href="#"
  31.                class="btn btn-outline-secondary ml-1"
  32.                data-toggle="collapse"
  33.                data-target=".multi-collapse"
  34.                aria-expanded="false"
  35.                aria-controls="review-form review-list">
  36.                 {{ "detail.reviewLoginCancelButton"|trans|sw_sanitize }}
  37.             </a>
  38.         {% endblock %}
  39.     </div>
  40. {% endblock %}