{{ Form::model($settings, ['method' => 'POST','route' => ['settingsUpdates'],'enctype'=>'multipart/form-data','data-toggle'=>'validator']) }} {{ Form::hidden('id', null, array('placeholder' => 'id','class' => 'form-control')) }} {{ Form::hidden('page', $page, array('placeholder' => 'id','class' => 'form-control')) }}
@if(getMediaFileExit($settings, 'site_logo')) @endif
{{ Form::file('site_logo', [ 'class'=> 'custom-file-input custom-file-input-sm detail', 'id' => 'site_logo', 'lang' => 'en' , 'accept' => 'image/*' ]) }}
@if(getMediaFileExit($settings, 'site_dark_logo')) @endif
{{ Form::file('site_dark_logo', [ 'class'=> 'custom-file-input custom-file-input-sm detail', 'id' => 'site_dark_logo', 'lang' => 'en' , 'accept' => 'image/*' ]) }}
site_favicon @if(getMediaFileExit($settings, 'site_favicon')) @endif
{{ Form::file('site_favicon', ['class'=>"custom-file-input custom-file-input-sm detail" , 'id'=>"site_favicon" , 'lang'=>"en" , 'accept'=>"image/*"]) }} {{ Form::label('site_favicon',__('message.site_favicon'), ['class' => 'custom-file-label']) }}
{{ Form::label('site_name',__('message.site_name'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('site_name', null, ['class'=>"form-control" ,'placeholder'=> __('message.site_name') ]) }}
{{ Form::label('site_description',__('message.site_description'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::textarea('site_description', null, ['class'=>"form-control textarea" , 'rows'=>3 , 'placeholder'=> __('message.site_description')]) }}
{{ Form::label('contact_email',__('message.contact_email'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('contact_email', null, ['class'=>"form-control" ,'placeholder'=> __('message.contact_email') ]) }}
{{ Form::label('contact_number',__('message.contact_number'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('contact_number', null, ['class'=>"form-control" ,'placeholder'=> __('message.contact_number') ]) }}
{{ Form::label('default_language',__('message.default_language'), ['class' => 'col-sm-12 form-control-label']) }}
{{ Form::label('language_option',__('message.language_option'), ['class' => 'col-sm-12 form-control-label']) }}
{{ Form::label('timezone', __('message.timezone'), ['class' => 'col-sm-12 form-control-label']) }}
{{ Form::select('timezone', [ auth()->user()->timezone => timeZoneList()[ auth()->user()->timezone ] ] , old('timezone') , [ 'data-ajax--url' => route('ajax-list', [ 'type' => 'timezone' ]), 'data-placeholder' => __('message.select_field', [ 'name' => __('message.timezone') ]), 'class' =>'form-control select2js', 'required' ]) }}
{{ Form::label('facebook_url', __('message.facebook_url'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('facebook_url', null, ['class'=>"form-control", 'placeholder' => __('message.enter_name', [ 'name' => __('message.facebook_url') ]) ]) }}
{{ Form::label('twitter_url',__('message.twitter_url'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('twitter_url', null, ['class'=>"form-control", 'placeholder' => __('message.enter_name',[ 'name' => __('message.twitter_url') ]) ]) }}
{{ Form::label('linkedin_url',__('message.linkedin_url'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('linkedin_url', null, ['class'=>"form-control", 'placeholder' => __('message.enter_name',[ 'name' => __('message.linkedin_url') ]) ]) }}
{{ Form::label('instagram_url',__('message.instagram_url'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('instagram_url', null, ['class'=>"form-control", 'placeholder' => __('message.enter_name',[ 'name' => __('message.instagram_url') ]) ]) }}
{{ Form::label('copyright_text',__('message.copyright_text'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('site_copyright', null, ['class'=>"form-control", 'placeholder' =>__('message.copyright_text')]) }}
{{ Form::label('help_support_url', __('message.help_support_url'), ['class' => 'col-sm-6 form-control-label']) }}
{{ Form::text('help_support_url', null, ['class'=>"form-control", 'placeholder' => __('message.enter_name', [ 'name' => __('message.help_support_url') ]) ]) }}

{{ Form::submit(__('message.save'), ['class'=>"btn btn-md btn-primary float-md-right"]) }}
{{ Form::close() }}