 @extends('Dashboard.master_page')




@section('meta')
    
    <title>Change Password - Aryanict.com</title>
    <meta content="" name="description">
    <meta content="" name="keywords">



@endsection


@section('title') <span>Change Password

</span>   @endsection


@section('description')  <p></p> @endsection



@section('content')


            <section class="content-row">
                <div class="container">
                    <div class="column-row align-center">


                        <div class="column-50">

                            @if(Session::has('error_message'))
                            <span style="color:red;">{{ Session::get('error_message') }}</span>

                            <br>
                            <br>
                            @endif

                        <form class="form-full-width" action="{{ route('ChangePasswordSave') }}" method="POST">
                        @csrf

                        <div class="form-row ">
                                     <label>Current Password </label>
                                     <input type="password" name="current_password"  placeholder="Current Password">
                                     @error('current_password')
                                     <span style="color:red;">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                     @enderror
                          </div>

                           <div class="form-row ">
                                     <label>New Password</label>
                                 <input type="password" name="password"  placeholder="New Password">
                                     @error('password')
                                     <span style="color:red;">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                     @enderror
                          </div>

                           <div class="form-row ">
                                <label>Confirm New Password</label>
                                <input type="password" name="confirm" placeholder="Confirm Your Password">
                                     @error('confirm')
                                     <span style="color:red;">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                     @enderror
                          </div>

                    <div class="form-row">
                         <button type="submit" id="button">Change Password</button>
                    </div>
                </form>

                        </div>
                    </div>
                </div>
            </section>
           
    
            

@endsection


