@extends('EcomAuthViews::layouts.authentication.layout')

@section('content')
@php
    $country_code = country()->code();

@endphp

                    <form class="twa-form" action="{{route('account-reset-password-password-update')}}" method="POST">
                        @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" =>"" ])
                            <a class="back-button" href="javascript:;" onclick="history.back()"><b><i class="fa-solid fa-arrow-left"></i> &nbsp; Back</b></a>
                        @endcomponent
                        @csrf
                        <input type="hidden" name="user_id" value="{{$User['id']}}">
                            @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" => ___('authentication.password') ])
                                <input type="password" name="password" required placeholder="{{ ___('authentication.password') }}"></input>
                            @endcomponent
                            @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" => ___('authentication.confirm_password') ])
                                <input type="password"  name="confirm_password" required placeholder="{{ ___('authentication.confirm_password') }}"></input>
                            @endcomponent
                        @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "submit", "label" => "" ])
                            <input type="submit" value="{{ ___('authentication.continue') }}" />
                        @endcomponent
                    </form>


@endsection
@section('scripts')

   <script>
       $( document ).ready(function() {

           AUTHENTICATION_InitCodeGroup('code-input-group');
       });




   </script>

@endsection
