@extends('backend.layouts.app') @section('title', __('labels.backend.general_settings.contact.title').' | '.app_name()) @push('after-styles') @endpush @section('content') {{ html()->form('POST', route('admin.general-settings'))->id('general-settings-form')->class('form-horizontal')->acceptsFiles()->open() }}

@lang('labels.backend.general_settings.contact.title')

{{ html()->label(__('labels.backend.general_settings.contact.short_text'))->class('col-md-2 form-control-label')->for('short_text') }}
{{ html()->text('') ->id('short_text') ->class('form-control') ->placeholder(__('labels.backend.general_settings.contact.short_text')) ->value(config('contact.short_text')) }}

{{__('labels.backend.general_settings.contact.show')}} {{ html()->label(html()->checkbox('') ->checked()->class('switch-input')->value(1)->checked() . '') ->class('switch switch-sm switch-3d switch-primary') }}

{{ html()->label(__('labels.backend.general_settings.contact.primary_address'))->class('col-md-2 form-control-label')->for('primary_address') }}
{{ html()->text('') ->id('primary_address') ->class('form-control') ->placeholder(__('labels.backend.general_settings.contact.primary_address')) ->value(config('contact.primary_address')) }}

{{__('labels.backend.general_settings.contact.show')}} {{ html()->label(html()->checkbox('') ->checked()->class('switch-input')->value(1)->checked() . '') ->class('switch switch-sm switch-3d switch-primary') }}

{{ html()->label(__('labels.backend.general_settings.contact.secondary_address'))->class('col-md-2 form-control-label')->for('secondary_address') }}
{{ html()->text('') ->id('secondary_address') ->class('form-control') ->placeholder(__('labels.backend.general_settings.contact.secondary_address')) ->value(config('contact.secondary_address')) }}

{{__('labels.backend.general_settings.contact.show')}} {{ html()->label(html()->checkbox('') ->class('switch-input')->value(1)->checked() . '') ->class('switch switch-sm switch-3d switch-primary') }}

{{ html()->label(__('labels.backend.general_settings.contact.primary_phone'))->class('col-md-2 form-control-label')->for('primary_phone') }}
{{ html()->text() ->id('primary_phone') ->class('form-control') ->placeholder(__('labels.backend.general_settings.contact.primary_phone')) ->value(config('contact.primary_phone')) }}

{{__('labels.backend.general_settings.contact.show')}} {{ html()->label(html()->checkbox('') ->class('switch-input')->value(1)->checked() . '') ->class('switch switch-sm switch-3d switch-primary') }}

{{ html()->label(__('labels.backend.general_settings.contact.secondary_phone'))->class('col-md-2 form-control-label')->for('secondary_phone') }}
{{ html()->text() ->id('secondary_phone') ->class('form-control') ->placeholder(__('labels.backend.general_settings.contact.secondary_phone')) ->value(config('contact.secondary_phone')) }}

{{__('labels.backend.general_settings.contact.show')}} {{ html()->label(html()->checkbox('') ->class('switch-input')->value(1)->checked() . '') ->class('switch switch-sm switch-3d switch-primary') }}

{{ html()->label(__('labels.backend.general_settings.contact.primary_email'))->class('col-md-2 form-control-label')->for('primary_email') }}
{{ html()->email('') ->id('primary_email') ->class('form-control') ->placeholder(__('labels.backend.general_settings.contact.primary_email')) ->value(config('contact.primary_email')) }}

{{__('labels.backend.general_settings.contact.show')}} {{ html()->label(html()->checkbox('') ->class('switch-input')->value(1)->checked() . '') ->class('switch switch-sm switch-3d switch-primary') }}

{{ html()->label(__('labels.backend.general_settings.contact.secondary_email'))->class('col-md-2 form-control-label')->for('secondary_email') }}
{{ html()->email('') ->id('secondary_email') ->class('form-control') ->placeholder(__('labels.backend.general_settings.contact.secondary_email')) ->value(config('contact.secondary_email')) }}

{{__('labels.backend.general_settings.contact.show')}} {{ html()->label(html()->checkbox('') ->class('switch-input')->value(1)->checked() . '') ->class('switch switch-sm switch-3d switch-primary') }}

{{ html()->label(__('labels.backend.general_settings.contact.location_on_map'))->class('col-md-12 form-control-label')->for('location_on_map') }}
{{ html()->textarea('') ->id('location_on_map') ->class('form-control') ->attributes(['rows'=>9]) ->placeholder(__('labels.backend.general_settings.contact.location_on_map')) ->value(config('contact.location_on_map')) }}

{{__('labels.backend.general_settings.contact.show')}} {{ html()->label(html()->checkbox('') ->checked()->class('switch-input')->value(1)->checked() . '') ->class('switch switch-sm switch-3d switch-primary') }}

{!! __('labels.backend.general_settings.contact.map_note') !!}
{{ html()->form()->close() }} @endsection @push('after-scripts') @endpush