@extends('backend.layouts.app') @section('title', __('labels.backend.social_settings.management').' | '.app_name()) @section('content') {{ html()->form('POST', route('admin.social-settings'))->class('form-horizontal')->open() }}

{{ __('labels.backend.social_settings.management') }}


{{ html()->label(__('validation.attributes.backend.settings.social_settings.facebook.label'))->class('col-md-2 form-control-label')->for('services.facebook.active') }}
{{ html()->label( html()->checkbox('services__facebook__active', config('services.facebook.active') ? true : false,1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }} {{ __('labels.backend.social_settings.fb_api_note')}}
{{ __('labels.backend.social_settings.fb_note')}}

{{ html()->label(__('validation.attributes.backend.settings.social_settings.facebook.client_id'))->class('col-md-2 form-control-label')->for('servicesfacebook.client_id') }}
{{ html()->text('services__facebook__client_id') ->class('form-control') ->value(config('services.facebook.client_id')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.facebook.client_secret'))->class('col-md-2 form-control-label')->for('services.facebook.client_secret') }}
{{ html()->text('services__facebook__client_secret') ->class('form-control') ->value(config('services.facebook.client_secret')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.facebook.redirect'))->class('col-md-2 form-control-label')->for('services.facebook.redirect') }}
{{ html()->text('services__facebook__redirect') ->class('form-control') ->attribute('disabled') ->value(config('services.facebook.redirect')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.google.label'))->class('col-md-2 form-control-label')->for('services.google.active') }}
{{ html()->label( html()->checkbox('services__google__active', config('services.google.active') ? true : false,1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }} {{ __('labels.backend.social_settings.google_api_note')}}
{{ __('labels.backend.social_settings.google_note')}}

{{ html()->label(__('validation.attributes.backend.settings.social_settings.google.client_id'))->class('col-md-2 form-control-label')->for('services.google.client_id') }}
{{ html()->text('services__google__client_id') ->class('form-control') ->value(config('services.google.client_id')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.google.client_secret'))->class('col-md-2 form-control-label')->for('services.google.client_secret') }}
{{ html()->text('services__google__client_secret') ->class('form-control') ->value(config('services.google.client_secret')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.google.redirect'))->class('col-md-2 form-control-label')->for('services.google.redirect') }}
{{ html()->text('services__google__redirect') ->class('form-control') ->attribute('disabled') ->value(config('services.google.redirect')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.twitter.label'))->class('col-md-2 form-control-label')->for('services.twitter.active') }}
{{ html()->label( html()->checkbox('services__twitter__active', config('services.twitter.active') ? true : false,1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }} {{ __('labels.backend.social_settings.twitter_api_note')}}
{{ __('labels.backend.social_settings.twitter_note')}}

{{ html()->label(__('validation.attributes.backend.settings.social_settings.twitter.client_id'))->class('col-md-2 form-control-label')->for('services.twitter.client_id') }}
{{ html()->text('services__twitter__client_id') ->class('form-control') ->value(config('services.twitter.client_id')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.twitter.client_secret'))->class('col-md-2 form-control-label')->for('services.twitter.client_secret') }}
{{ html()->text('services__twitter__client_secret') ->class('form-control') ->value(config('services.twitter.client_secret')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.twitter.redirect'))->class('col-md-2 form-control-label')->for('services.twitter.redirect') }}
{{ html()->text('services__twitter__redirect') ->class('form-control') ->attribute('disabled') ->value(config('services.twitter.redirect')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.linkedin.label'))->class('col-md-2 form-control-label')->for('services.linkedin.active') }}
{{ html()->label( html()->checkbox('services__linkedin__active', config('services.linkedin.active') ? true : false,1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }} {{ __('labels.backend.social_settings.linkedin_api_note')}}
{{ __('labels.backend.social_settings.linkedin_note')}}

{{ html()->label(__('validation.attributes.backend.settings.social_settings.linkedin.client_id'))->class('col-md-2 form-control-label')->for('services.linkedin.client_id') }}
{{ html()->text('services__linkedin__client_id') ->class('form-control') ->value(config('services.linkedin.client_id')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.linkedin.client_secret'))->class('col-md-2 form-control-label')->for('services.linkedin.client_secret') }}
{{ html()->text('services__linkedin__client_secret') ->class('form-control') ->value(config('services.linkedin.client_secret')) }}
{{ html()->label(__('validation.attributes.backend.settings.social_settings.linkedin.redirect'))->class('col-md-2 form-control-label')->for('services.linkedin.redirect') }}
{{ html()->text('services__linkedin__redirect') ->class('form-control') ->attribute('disabled') ->value(config('services.linkedin.redirect')) }}
{{ html()->form()->close() }} @endsection @push('after-scripts') @endpush