templates/pages/password_reset/password_reset_web.html.twig line 1

Open in your IDE?
  1. <figure class="mt-[10px] lg:mt-[40px] mx-auto max-w-max lg:max-w-[1328px] px-[24px]">
  2.     {% include '@App/shared/ui/header/header.html.twig' %}
  3.     <div class="rounded-[16px] mt-[40px] md:mt-[80px] p-[16px] md:p-[32px] border border-[#E2E2E9] bg-[#F7F7FA]">
  4.         {% include '@App/shared/ui/backButton/backButtonWeb.html.twig' %}
  5.         {% include '@App/shared/ui/icons/lock.html.twig' %}
  6.         <div class="text-[24px] font-semibold text-[#1B2028] mb-[10px] tracking-[.6px]"
  7.              style="{{ inlineStyles(app.request.get('companyInner'), constant('App\\Constants\\SettingConstants::BLOCK_TITLE_STYLES')) }}"
  8.         >{% trans from 'password_reset' %}Відновлення паролю{% endtrans %}</div>
  9.         <div class="text-[14px] font-medium text-[#909299] mb-[18px] max-w-[658px] mx-auto leading-tight text-{{ companyStyles.descriptionTextAlign }}">{% trans from 'password_reset' %}Для відновлення паролю вкажіть вашу електронну пошту з якої ви вже робили спробу реєстрації або купували eSIM. На цю пошту Вам буде надіслано новий код-пароль.{% endtrans %}</div>
  10.         <div class="mt-[14px] p-[18px] max-w-max md:max-w-[420px] mx-auto rounded-[24px] bg-white border border-[#E2E2E9]">
  11.            <div class="flex flex-col gap-[16px]">
  12.                 <form id="formResetPass" method="POST" action="{{ path('password_reset_page') }}" class="">
  13.                     <input type="hidden" name="_token" value="{{ csrf_token('password-reset') }}">
  14.                     <div class="mb-[36px]">
  15.                         <label for="email" class="block mb-2 text-sm font-medium">{% trans from 'password_reset' %}Електронна пошта{% endtrans %}</label>
  16.                         <div class="relative">
  17.                             <div class="absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none">
  18.                                 <svg class="w-[19px] h-[19px]">
  19.                                     <use href="{{ asset('build/sprite.svg#user_icon') }}"></use>
  20.                                 </svg>
  21.                             </div>
  22.                         <input data-invalid="false" value="{{ email }}" type="email" id="email" name="email" class="data-[invalid=true]:border-[#C6252A] data-[invalid=true]:text-[#C6252A] h-[56px] pl-[40px] bg-[#F7F7FA] font-medium border border-[#E2E2E9] text-[#1B2028] text-[16px] rounded-full focus:ring-green-500 focus:border-green-500 block w-full p-2.5 " placeholder="{% trans from 'password_reset' %}Введіть ваш Email{% endtrans %}">
  23.                         </div>
  24.                         <p id="email_error" class="hidden mt-2 text-[14px] font-medium text-red-600"></p>
  25.                         {% if errors.email is defined %}
  26.                             <p id="email_error" class="mt-2 text-[14px] font-medium text-red-600">{{ errors.email }}</p>
  27.                         {% endif %}
  28.                     </div>
  29.                     {% include '@App/shared/ui/button/button.html.twig' with {
  30.                         text: 'Надіслати пароль'|trans({}, 'password_reset'),
  31.                         buttonId: 'resetPassBtn',
  32.                     } %}
  33. {#                    <button id="button" type="submit"#}
  34. {#                            style="{{ inlineStyles(app.request.get('companyInner'), constant('App\\Constants\\SettingConstants::FILLED_BUTTON_STYLES')) }}"#}
  35. {#                            class="drop-shadow-[0_7px_5px_rgba(0,0,0,0.25)] hover:drop-shadow-none disabled:drop-shadow-none transition ease-in-out duration-150 hover:!opacity-90 disabled:!bg-[#E2E2E9] disabled:!text-[#909299] w-full h-[48px] hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-semibold text-[16px] px-5 py-2.5 me-2 mb-2 focus:outline-none"#}
  36. {#                    >#}
  37. {#                        {% trans from 'password_reset' %}Надіслати код{% endtrans %}#}
  38. {#                    </button>#}
  39.                 </form>
  40.                 {% if faqs is defined and faqs is not empty %}
  41.                     <button data-modal="#modal_faq" class="js--modal hover:underline transition ease-in-out duration-150 w-full block text-center p-[12px] h-[48px] bg-transparent border rounded-[10px] border-none font-semibold text-[16px] mt-[25px] focus:outline-none"
  42.                             style="color: {{ companyStyles.linkTextColor }}">{% trans from 'tarif_choice' %}Поширені питаня та відповіді{% endtrans %}</button>
  43.                 {% endif %}
  44.             </div>
  45.         </div>
  46.     </div>
  47.     </figure>