@extends('layouts.settings.default') @push('css_lib') {{--dropzone--}} @endpush @section('settings_title',trans('lang.user_table')) @section('settings_content') @include('flash::message') @include('adminlte-templates::common.errors')
{!! Form::open(['url' => ['settings/update'], 'method' => 'patch']) !!}
{!! Form::hidden('mail_driver','smtp') !!}
{!! Form::label('mail_host', trans("lang.app_setting_mail_host"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('mail_host', setting('mail_host'), ['class' => 'form-control','placeholder'=> trans("lang.app_setting_mail_host_placeholder")]) !!}
{{ trans("lang.app_setting_mail_host_help") }}
{!! Form::label('mail_port', trans("lang.app_setting_mail_port"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('mail_port', setting('mail_port'), ['class' => 'form-control','placeholder'=> trans("lang.app_setting_mail_port_placeholder")]) !!}
{{ trans("lang.app_setting_mail_port_help") }}
{!! Form::label('mail_encryption', trans("lang.app_setting_mail_encryption"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('mail_encryption', ['tls'=>'TLS', 'ssl'=>'SSL'], setting('mail_encryption'), ['class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_mail_encryption_help") }}
{!! Form::label('mail_username', trans("lang.app_setting_mail_username"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('mail_username', setting('mail_username'), ['class' => 'form-control','placeholder'=> trans("lang.app_setting_mail_username_placeholder")]) !!}
{{ trans("lang.app_setting_mail_username_help") }}
{!! Form::label('mail_password', trans("lang.app_setting_mail_password"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::password('mail_password', ['class' => 'form-control','placeholder'=> trans("lang.app_setting_mail_password_placeholder")]) !!}
{{ trans("lang.app_setting_mail_password_help") }}
{!! Form::label('mail_from_address', trans("lang.app_setting_mail_from_address"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('mail_from_address', setting('mail_from_address'), ['class' => 'form-control','placeholder'=> trans("lang.app_setting_mail_from_address_placeholder")]) !!}
{{ trans("lang.app_setting_mail_from_address_help") }}
{!! Form::label('mail_from_name', trans("lang.app_setting_mail_from_name"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('mail_from_name', setting('mail_from_name'), ['class' => 'form-control','placeholder'=> trans("lang.app_setting_mail_from_name_placeholder")]) !!}
{{ trans("lang.app_setting_mail_from_name_help") }}
{{trans('lang.cancel')}}
{!! Form::close() !!}
@include('layouts.media_modal',['collection'=>null]) @endsection @push('scripts_lib') {{--dropzone--}} @endpush