{!! Form::label('application_name', __('models/settings.general.Application Name').':') !!}
{!! Form::text('application_name', setting('application_name'), ['class' => 'form-control '. ($errors->has('application_name')?' is-invalid ':'')]) !!}
@if ($errors->has('application_name'))
{{ $errors->first('application_name') }}
@endif
{!! Form::label('description', __('models/settings.general.description').':') !!}
{!! Form::text('description', setting('description'), ['class' => 'form-control '. ($errors->has('description')?' is-invalid ':'')]) !!}
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
{!! Form::label('phone', __('models/settings.general.phone').':') !!}
{!! Form::text('phone', setting('phone'), ['class' => 'form-control '. ($errors->has('phone')?' is-invalid ':'')]) !!}
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
{!! Form::label('version', __('models/settings.general.version').':') !!}
{!! Form::text('version', setting('version'), ['class' => 'form-control '. ($errors->has('version')?' is-invalid ':'')]) !!}
@if ($errors->has('version'))
{{ $errors->first('version') }}
@endif
{!! Form::label('terms', __('models/settings.general.terms').':') !!}
{!! Form::textarea('terms', setting('terms'), ['class' => 'form-control '. ($errors->has('terms')?' is-invalid ':'')]) !!}
@if ($errors->has('terms'))
{{ $errors->first('terms') }}
@endif
{!! Form::label('privacy_policy', __('models/settings.general.privacy_policy').':') !!}
{!! Form::textarea('privacy_policy', setting('privacy_policy'), ['class' => 'form-control '. ($errors->has('privacy_policy')?' is-invalid ':'')]) !!}
@if ($errors->has('privacy_policy'))
{{ $errors->first('privacy_policy') }}
@endif
{!! Form::label('logo', __('models/settings.general.logo').':') !!}
{!! Form::file('logo',['accept'=>'.jpg, .png, image/jpeg, image/png','data-default-file'=>(asset(setting('logo'))), 'data-height'=>'150','class' => 'form-control dropify '. ($errors->has('logo')?' is-invalid':'')]) !!}
@if ($errors->has('logo'))
{{ $errors->first('logo') }}
@endif
{!! Form::label('fcm_key','fcm_key:') !!}
{!! Form::text('fcm_key', setting('fcm_key'), ['class' => 'form-control '. ($errors->has('fcm_key')?' is-invalid ':'')]) !!}
@if ($errors->has('fcm_key'))
{{ $errors->first('fcm_key') }}
@endif
{!! Form::submit(ucfirst(__('lang.save')), ['class' => 'btn btn-primary']) !!}