{{--{{ Form::open(array('route' => array('test.send.mail'))) }}--}}
{{--<div class="modal-body">--}}
{{--    <div class="row">--}}
{{--        <div class="form-group col-md-12">--}}
{{--            {{ Form::label('email', __('Email'),['class'=>'form-label']) }}--}}
{{--            {{ Form::text('email', '', array('class' => 'form-control','required'=>'required')) }}--}}
{{--            @error('email')--}}
{{--            <span class="invalid-email" role="alert">--}}
{{--            <strong class="text-danger">{{ $message }}</strong>--}}
{{--        </span>--}}
{{--            @enderror--}}
{{--        </div>--}}
{{--    </div>--}}
{{--</div>--}}
{{--<div class="modal-footer">--}}
{{--    <input type="button" value="{{__('Cancel')}}" class="btn  btn-light" data-bs-dismiss="modal">--}}
{{--    <input type="submit" value="{{__('Create')}}" class="btn  btn-primary">--}}
{{--</div>--}}
{{--{{ Form::close() }}--}}

<form class="px-3" method="post" action="{{ route('test.send.mail') }}" id="test_email">
    @csrf

    <input type="hidden" name="mail_driver" value="{{$data['mail_driver']}}" />
    <input type="hidden" name="mail_host" value="{{$data['mail_host']}}" />
    <input type="hidden" name="mail_port" value="{{$data['mail_port']}}" />
    <input type="hidden" name="mail_username" value="{{$data['mail_username']}}" />
    <input type="hidden" name="mail_password" value="{{$data['mail_password']}}" />
    <input type="hidden" name="mail_encryption" value="{{$data['mail_encryption']}}" />
    <input type="hidden" name="mail_from_address" value="{{$data['mail_from_address']}}" />
    <input type="hidden" name="mail_from_name" value="{{$data['mail_from_name']}}" />
    <div class="modal-body">
        <div class="row">
            <div class="form-group col-md-12">
                <label for="email" class="form-label">{{ __('E-Mail Address')}}</label>
                <input type="text" class="form-control" id="email" name="email" placeholder="{{__('Enter email')}}" required/>
            </div>
        </div>
    </div>
    <div class="modal-footer">
{{--        <label id="email_sending" style="display: none;"><i class="fas fa-clock"></i></label>--}}
        <input type="button" value="{{ __('Cancel') }}" class="btn btn-secondary" data-bs-dismiss="modal">
        <input type="submit" value="{{ __('Send') }}" class="btn-create btn btn-primary">

    </div>
</form>


