@extends('layouts.settings.default') @push('css_lib') {{--dropzone--}} @endpush @section('settings_title',trans('lang.user_table')) @section('settings_content') @include('flash::message') @include('adminlte-templates::common.errors')
{!! Form::open(['url' => ['settings/update'], 'method' => 'patch']) !!}
@foreach(['facebook','twitter','google'] as $social)
{!! trans('lang.app_setting_'.$social) !!}
{!! Form::label('enable_'.$social, trans('lang.app_setting_enable_'.$social),['class' => 'col-2 control-label text-right']) !!}
{!! Form::label($social.'_app_id', trans('lang.app_setting_'.$social.'_app_id'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text($social.'_app_id', setting($social.'_app_id'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_'.$social.'_app_id_placeholder')]) !!}
{!! trans('lang.app_setting_'.$social.'_app_id_help') !!}
{!! Form::label($social.'_app_secret', trans('lang.app_setting_'.$social.'_app_secret'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text($social.'_app_secret', setting($social.'_app_secret'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_'.$social.'_app_secret_placeholder')]) !!}
{!! trans('lang.app_setting_'.$social.'_app_secret_help') !!}

@endforeach
{{trans('lang.cancel')}}
{!! Form::close() !!}
@include('layouts.media_modal',['collection'=>null]) @endsection @push('scripts_lib') {{--dropzone--}} @endpush