@push('css')
    <link href="{{ asset('css/payment_setting.css') }}" rel="stylesheet">
@endpush

<div id="admin-info-modal" class="modal fade" role="dialog" style="padding-top: 50px">
    <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xs-12 mx-auto">
        <div class="modal-dialog modal-dialog-centered">
            <!-- Modal content-->
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                    <h4 class="modal-title">Admin Information </h4>
                </div>
                <div class="modal-body">
                    <div class="admin-info-modal">
                        <div class="container-fluid py-3">

                            <div class="row">

                                <div class="card-body">
                                    <form action="{{route('change.admin_info')}}" method="post" id="admin_info_form"
                                          class="needs-validation">
                                        @csrf
                                        <div class="form-row">
                                            <div class="form-group col-md-12 col-xs-12">
                                                <label>Email</label>
                                                <input id="email" name="email" type="text"
                                                       value="{{auth()->user()->email}}"
                                                       class="form-control"
                                                       autocomplete="off" >
                                            </div>
                                        </div>
                                        <div class="form-row">
                                            <div class="form-group col-md-12 col-xs-12">
                                                <label>Current Password</label>
                                                <div class="input-group" id="show_hide_password">
                                                    <input id="current_password" name="current_password"  value="{{customDecrypt(auth()->user()->password)}}" type="password"
                                                           class="form-control" autocomplete="off" placeholder="Current Password">
                                                    <div class="input-group-addon">
                                                        <a href=""><i class="fa fa-eye-slash" aria-hidden="true"></i></a>
                                                    </div>
                                                </div>

                                            </div>

                                        </div>
{{--                                        <div class="form-row">--}}
{{--                                            <div class="form-group col-md-12 col-xs-12">--}}
{{--                                                <label>Change Password</label>--}}
{{--                                                <div class="input-group" id="show_hide_password">--}}
{{--                                                    <input id="change_password" name="change_password" type="password"--}}
{{--                                                           class="form-control"--}}
{{--                                                           autocomplete="off" placeholder="Change Password">--}}
{{--                                                    <div class="input-group-addon">--}}
{{--                                                        <a href=""><i class="fa fa-eye-slash" aria-hidden="true"></i></a>--}}
{{--                                                    </div>--}}
{{--                                                </div>--}}

{{--                                            </div>--}}
{{--                                        </div>--}}
                                        <div class="form-row">
                                            <div class="form-group col-md-12 col-xs-12">
                                                <button  type="submit"
                                                        class="btn btn-info btn-block">
                                                    <i class="fa fa-lock fa-lg"></i>&nbsp;
                                                    <span>Save Changes</span>

                                                </button>
                                            </div>
                                        </div>

                                    </form>

                                </div>

                            </div>
                        </div>

                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </div>

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






