@extends('themes.default1.admin.layout.admin') @section('Emails') class="active" @stop @section('emails-bar') active @stop @section('smtp') class="active" @stop @section('HeadInclude') @stop @section('content') @if(Session::has('success'))
Success! {{Session::get('success')}}
@endif @if(Session::has('fails'))
Alert! Failed. {{Session::get('fails')}}
@endif {!! Form::model($settings,['url'=>'post-smtp','method'=>'PATCH']) !!}

{!! Lang::get('lang.outgoing_emails') !!}

{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
{!! Form::label('driver',Lang::get('lang.driver')) !!} {!! $errors->first('driver', ':message') !!}
{!! Form::label('host',Lang::get('lang.host')) !!} {!! $errors->first('host', ':message') !!} {!! Form::text('host',null,['class' => 'form-control']) !!}
{!! Form::label('port',Lang::get('lang.port')) !!} {!! $errors->first('port', ':message') !!} {!! Form::text('port',null,['class' => 'form-control']) !!}
{!! Form::label('encryption',Lang::get('lang.encryption')) !!} {!! $errors->first('encryption', ':message') !!}
{!! Form::label('name',Lang::get('lang.name')) !!} {!! $errors->first('name', ':message') !!} {!! Form::text('name',null,['class' => 'form-control']) !!}
{!! Form::label('email',Lang::get('lang.email')) !!} {!! $errors->first('email', ':message') !!} {!! Form::text('email',null,['class' => 'form-control']) !!}
{!! Form::label('password',Lang::get('lang.password')) !!} {!! $errors->first('password', ':message') !!}
@stop