@extends('web.layouts.layout')

@section('container_content')

<section class="box valign">
    <div class="container-fluid">
        <div class="content">

            @if (session('error'))
                <div class="alert alert-danger col-md-6">
                    {{ session('error') }}
                </div>
            @endif

            @if ($errors->any())
                <div class="alert alert-danger col-md-6">
                    @foreach ($errors->all() as $error)
                        <li>{{ $error }}</li>
                    @endforeach
                </div>
            @endif


            <h3 class="title wow fadeInUp">{{__('users.reset_password')}}</h3>
            <div class="row">
                <div class="col-lg-6">
                    <div class="sign wow fadeInDown">
                        <div class="form wow zoomIn">
                            <form action="{{route('user.typeNewPassword')}}" method="post">
                                @csrf
                                <input type="hidden" name="code" value="{{$code}}">
                                <div class="form-group">
                                    <label>{{__('users.password')}} </label>
                                    <input type="password" name="password" placeholder="{{__('users.password')}}">
                                </div>
                                <div class="form-group">
                                    <label>{{__('users.password_confirmation')}} </label>
                                    <input type="password" name="password_confirmation" placeholder="{{__('users.password_confirmation')}}">
                                </div>
                                <button class="butn wow zoomIn">{{__('users.reset_password')}}</button>
                            </form>
                        </div>
                    </div>
                </div>
                <div class="col-lg-5 offset-lg-1">
                    <div class="text-center right wow zoomIn">
                        <div class="rigister-buttons mt-3">
                            <a href="#"> <img src="{{asset('assets/web/images/icons/facebook.svg')}}" alt=""> {{__('users.facebook_register')}}</a>
                            <a href="#"> <img src="{{asset('assets/web/images/icons/twitter.svg')}}" alt=""> {{__('users.twitter_register')}}</a>
                            <a href="#"> <img src="{{asset('assets/web/images/icons/gmail.svg')}}" alt=""> {{__('users.gmail_register')}}</a>
                            <a href="#"> <img src="{{asset('assets/web/images/icons/linkedin.svg')}}" alt=""> {{__('users.linkedin_register')}}</a>
                        </div>
                    </div>
                </div>
            </div>

        </div>

    </div>
</section>

@endsection
