@if (isset($data->EmailTemplate->id) && $data->EmailTemplate->id)

@t('Send Test Email')

{!! Form::open([ 'data-toggle' => 'validator', 'class' => 'settings-form well form-inline', 'action' => action('Payment/EmailTemplatesController@secure_test', [$venue->id, $data->EmailTemplate->id]) ]) !!} {!! Form::token() !!}
{!! Form::email( 'data[email]', null, [ 'data-error' => t('This field is required'), 'class' => 'form-control', 'required', 'placeholder' => 'test@email.com' ] ) !!}
{!! Form::submit(t('Send'), ['class' => 'btn btn-pink btn-wider']) !!} {!! Form::close() !!} @endif