@extends('layouts.settings.default') @push('css_lib') {{--dropzone--}} {{--Color Picker--}} @endpush @section('settings_title',trans('lang.app_setting_mobile')) @section('settings_content') @include('flash::message') @include('adminlte-templates::common.errors')
{!! Form::open(['url' => ['settings/update'], 'method' => 'patch']) !!}
{!! trans('lang.app_setting_google_maps_key') !!}
{!! Form::label('google_maps_key', trans('lang.app_setting_google_maps_key'), ['class' => 'col-2 control-label text-right']) !!}
{!! Form::text('google_maps_key', config('installer.demo_app', false) ? "AIzaSyAT07iMlfZ9bJt1gmGj9KhJDLFY8srI6dA" : setting('google_maps_key',"YOUR-GOOGLE-MAPS-KEY-HERE"), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_google_maps_key_placeholder')]) !!}
{!! trans('lang.app_setting_google_maps_key_help') !!}
{!! Form::label('distance_unit', trans("lang.app_setting_distance_unit"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('distance_unit', [ 'km' => trans('lang.app_setting_km'), 'mi' => trans('lang.app_setting_mi'), ] , setting('distance_unit','km'), ['class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_distance_unit_help") }}
{!! trans('lang.app_setting_localisation') !!}
{!! Form::label('mobile_language', trans("lang.app_setting_mobile_language"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('mobile_language', $mobileLanguages, setting('mobile_language','en'), ['class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_mobile_language_help") }}
{!! Form::label('default_country_code', trans("lang.app_setting_default_country_code"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('default_country_code', $countries, setting('default_country_code','DE'), ['class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_default_country_code_help") }}
{!! trans('lang.app_setting_version') !!}
{!! Form::label('app_version', trans('lang.app_setting_app_version'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('app_version', setting('app_version',"1.0.0"), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_app_version_placeholder')]) !!}
{!! trans('lang.app_setting_app_version_help') !!}
{!! Form::label('enable_version', trans("lang.app_setting_enable_version"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!} {!! Form::hidden('enable_version', 0, ['id'=>"hidden_enable_version"]) !!}
{!! Form::checkbox('enable_version', 1, setting('enable_version', true)) !!}
{{trans('lang.cancel')}}
{!! Form::close() !!}
@include('layouts.media_modal',['collection'=>null]) @endsection @push('scripts_lib') @endpush