@extends('layouts.popup.small') @section('title') {{ trans('messages.test_sending_server') }} @endsection @section('content')
{{ csrf_field() }} @foreach (request()->all() as $key => $value) @endforeach

{{ trans('messages.test_sending_server.intro') }}

@include('helpers.form_control', [ 'type' => 'autofill', 'id' => 'sender_from_input', 'class' => '', 'name' => 'from_email', 'value' => '', 'label' => trans('messages.from_email'), 'rules' => ['from_email' => 'required'], 'help_class' => 'campaign', 'url' => action('Admin\SendingServerController@fromDropbox', $server->uid), 'empty' => trans('messages.sender.dropbox.empty'), 'error' => trans('messages.sender.dropbox.error', [ 'sender_link' => action('Admin\SendingServerController@index'), ]), 'header' => trans('messages.verified_senders'), ]) @include('helpers.form_control', [ 'type' => 'text', 'class' => 'email', 'label' => trans('messages.to_email'), 'name' => 'to_email', 'value' => '', 'help_class' => 'sending_server', 'rules' => ['to_email' => 'required'] ]) @include('helpers.form_control', [ 'type' => 'text', 'class' => '', 'label' => trans('messages.subject'), 'name' => 'subject', 'value' => '', 'help_class' => 'sending_server', 'rules' => ['subject' => 'required'] ]) @include('helpers.form_control', [ 'type' => 'textarea', 'class' => '', 'label' => trans('messages.content'), 'name' => 'content', 'value' => '', 'help_class' => 'sending_server', 'rules' => ['content' => 'required'] ])
@endsection