password-reset.blade.php 4.59 KB
@extends('layout.frontend', ['title' => 'Обновление пароля - РекаМоре'])

@section('scripts')

@endsection

@section('content')
    <section class="cabinet">
        <div class="container">
            <ul class="breadcrumbs cabinet__breadcrumbs">
                <li><a href="{{ route('index') }}">Главная</a></li>
                <li><b>Личный кабинет</b></li>
            </ul>
            <div class="cabinet__wrapper">
                <div class="cabinet__side">

                        @include('employers.emblema')



                    @include('employers.menu', ['item' => 13])
                </div>

                <div class="cabinet__body">
                    <div class="cabinet__body-item">
                        <h2 class="title cabinet__title">Сменить пароль</h2>

                        @include('messages_error')
                        <form class="cabinet__inputs" action="{{ route('employer.new_password') }}" method="GET">
                            @csrf
                            <input type="hidden" name="email" id="email" value="{{ $email }}"/>
                            <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
                                <label class="form-group__label">Старый пароль</label>
                                <div class="form-group__item">
                                    <input type="password" name="password" id="password" class="input" placeholder="**********" required>

                                    <button type="button" class="eye">
                                        <svg class="js-password-show">
                                            <use xlink:href="{{ asset('images/sprite.svg#eye') }}"></use>
                                        </svg>
                                        <svg class="js-password-hide">
                                            <use xlink:href="{{ asset('images/sprite.svg#eye-2') }}"></use>
                                        </svg>
                                    </button>
                                </div>
                            </div>
                            <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
                                <label class="form-group__label">Новый пароль</label>
                                <div class="form-group__item">
                                    <input type="password" name="new_password" id="new_password" class="input" placeholder="**********" required>
                                    <button type="button" class="eye">
                                        <svg class="js-password-show">
                                            <use xlink:href="{{ asset('images/sprite.svg#eye') }}"></use>
                                        </svg>
                                        <svg class="js-password-hide">
                                            <use xlink:href="{{ asset('images/sprite.svg#eye-2') }}"></use>
                                        </svg>
                                    </button>
                                </div>
                            </div>
                            <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
                                <label class="form-group__label">Повторите новый пароль</label>
                                <div class="form-group__item">
                                    <input type="password" name="new_password2" id="new_password2" class="input" placeholder="**********" required>
                                    <button type="button" class="eye">
                                        <svg class="js-password-show">
                                            <use xlink:href="{{ asset('images/sprite.svg#eye') }}"></use>
                                        </svg>
                                        <svg class="js-password-hide">
                                            <use xlink:href="{{ asset('images/sprite.svg#eye-2') }}"></use>
                                        </svg>
                                    </button>
                                </div>
                            </div>
                            <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
                                <button type="submit" class="button">Сохранить</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </section>
    </div>
@endsection