hesabixSite/templates/customer/forgot_password.html.twig
Hesabix be126d506b
Some checks are pending
PHP Composer / build (push) Waiting to run
progress in QA service
2025-09-05 18:03:55 +03:30

43 lines
2.4 KiB
Twig

{% extends 'customer/base.html.twig' %}
{% block page_title %}بازیابی کلمه عبور{% endblock %}
{% block page_subtitle %}کلمه عبور خود را بازیابی کنید{% endblock %}
{% block auth_content %}
<div class="text-center mb-8">
<img src="{{ asset('/img/icons/key.svg') }}" alt="کلید" class="icon-svg-large icon-key text-blue-600">
<p class="text-gray-600 mt-4">ایمیل خود را وارد کنید تا لینک بازیابی کلمه عبور برای شما ارسال شود.</p>
</div>
{{ form_start(form, {'attr': {'novalidate': 'novalidate', 'class': 'space-y-6'}}) }}
<div>
{{ form_label(form.email, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700 mb-2'}}) }}
{{ form_widget(form.email, {'attr': {'class': 'w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200 text-left', 'placeholder': 'ایمیل خود را وارد کنید'}}) }}
{{ form_errors(form.email) }}
</div>
<button class="w-full bg-gradient-to-r from-blue-600 to-purple-600 text-white py-3 px-6 rounded-xl font-semibold hover:from-blue-700 hover:to-purple-700 transform hover:-translate-y-0.5 transition-all duration-200 shadow-lg hover:shadow-xl flex items-center justify-center gap-2" type="submit">
<img src="{{ asset('/img/icons/key.svg') }}" alt="ارسال" class="icon-svg icon-key">
ارسال لینک بازیابی
</button>
{{ form_end(form) }}
<div class="mt-8 text-center space-y-4">
<a href="{{ path('customer_login') }}" class="inline-flex items-center text-blue-600 hover:text-blue-700 font-medium transition-colors duration-200">
<img src="{{ asset('/img/icons/arrow-left.svg') }}" alt="بازگشت" class="icon-svg icon-arrow-left ml-2">
بازگشت به صفحه ورود
</a>
<div class="text-gray-600">
<p>حساب کاربری ندارید؟
<a href="{{ path('customer_register') }}" class="text-blue-600 hover:text-blue-700 font-medium transition-colors duration-200">
<img src="{{ asset('/img/icons/user-plus.svg') }}" alt="عضویت" class="icon-svg icon-user-plus ml-1">
عضویت در باشگاه
</a>
</p>
</div>
</div>
{% endblock %}