<x-app-layout :assets="$assets ?? []">
    <div>
        <div class="row">
            <div class="col-xl-12 col-lg-12">
                <div class="card">
                    <div class="card-header d-flex justify-content-between">
                        <div class="header-title">
                            <h4 class="card-title">Change MT5 Account Password</h4>
                        </div>
                    </div>
                    <div class="card-body">
                        <form action="{{ route("admin.mt4account.savepass") }}" method="POST" role="form text-left" class="needs-validation" enctype="multipart/form-data">
                            @csrf
                            <div class="new-user-info">
                                <div class="row">
                                    <div class="form-group col-md-6">
                                        <label class="form-label" for="mt4account">Select Account</label>
                                        <select class="form-control" name="mt4account" id="mt4account">
                                            @foreach($myaccounts as $account)
                                                <option value="{{$account->loginid}}">{{$account->loginid}}  ({{$account->name}})({{$account->email}})</option>
                                            @endforeach
                                        </select>
                                    </div>
                                    <div class="form-group col-md-6">
                                        <label class="form-label" for="newpassword">Enter New Password <span class="text-danger">*</span></label>
                                        <input class="form-control" value="" type="password" placeholder="New Password" id="newpassword" name="newpassword">
                                        <p>Note:- 1-uppercase, 1-lowercase,special character,number</p>
                                    </div>
                                </div>
                                <button type="submit" class="btn btn-sm btn-primary">Save</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</x-app-layout>
