{{--
--}}

General Settings

{{ Form::open( ['method'=>'post', 'url' => route('settings.update'), 'id' => 'settting_save', 'enctype' => "multipart/form-data" ]) }}
{{ Form::hidden('id',LaraCore::setting('id')) }}
{{ Form::text( 'title',LaraCore::setting('title'), [ 'id' => 'title', 'class' => 'form-control', ]) }} {{-- --}} @if ($errors->has('title'))

{{ $errors->first('title') }}

@endif
{{ Form::text( 'short_title',LaraCore::setting('short_title'), [ 'id' => 'short_title', 'class' => 'form-control', ]) }} {{-- --}}
{{ Form::radio('login_with', 'e', (LaraCore::setting('login_with') == 'e' ? true : false), [ 'id' => 'email', 'class'=>'minimal', ]) }} Email       {{ Form::radio('login_with', 'u', (LaraCore::setting('login_with') == 'u' ? true : false), [ 'id' => 'username', 'class'=>'minimal', ]) }} Username       {{ Form::radio('login_with', 'eu', (LaraCore::setting('login_with') == 'eu' ? true : false), [ 'id' => 'email_username', 'class'=>'minimal', ]) }} Email / Username     
{{ Form::textarea( 'intro_text',LaraCore::setting('intro_text',''), [ 'id' => 'intro_text', 'class' => 'form-control', 'size' => '30x7' ]) }}
{{ Form::text( 'html_prefix',LaraCore::setting('html_prefix'), [ 'id' => 'html_prefix', 'class' => 'form-control', ]) }}
{{ Form::select('default_pagination', [ '' => 'Default Pagination ', '10' => '10', '20' => '20', '30' => '30', '40' => '40', '50' => '50'], LaraCore::setting('default_pagination'), ['class' => 'form-control'] ) }}
{{ Form::text( 'password_min_chars',LaraCore::setting('password_min_chars'), [ 'id' => 'password_min_chars', 'class' => 'form-control', ]) }} @if ($errors->has('password_min_chars'))

{{ $errors->first('password_min_chars') }}

@endif
@if ($errors->has('no_records'))

{{ $errors->first('no_records') }}

@endif
{{Form::select('font', [ 'Source Sans Pro' => 'Source Sans Pro', 'Lato-Regular' => 'Lato-Regular', 'Roboto-Light' => 'Roboto-Light', 'ArialRoundedMT' => 'ArialRoundedMT', 'calibri'=> 'calibri' ], LaraCore::setting('font'), ['class' => 'form-control'] ) }}
{{ Form::text( 'date_format',LaraCore::setting('date_format'), [ 'class' => 'form-control', ]) }} @if ($errors->has('date_format'))

{{ $errors->first('date_format') }}

@endif
{{Form::select('timezone', ['' => 'Select Timezone'] + LaraCore::getTimeZone(), LaraCore::setting('timezone'), ['class' => 'form-control timezone','id' => 'timezone'] ) }}
@if ($errors->has('timezone'))

{{ $errors->first('timezone') }}

@endif
{{ Form::label('logo', 'Theme Color') }}
{{ Form::radio('menu_bar', 'side_menu', (LaraCore::setting('menu_bar') == 'side_menu' ? true : false), [ 'id' => 'side_menu', 'class'=>'minimal', ]) }} Side Menu       {{ Form::radio('menu_bar', 'top_menu', (LaraCore::setting('menu_bar') == 'top_menu' ? true : false), [ 'id' => 'top_menu', 'class'=>'minimal', ]) }} Top Menu      
{{ Form::close() }}
@section('custom-scripts') @endsection