@extends('super_admin_settings.edit') @section('title') {{ __('messages.general') }} @endsection @section('section')
{{ Form::open(['route' => ['super.admin.settings.update'], 'method' => 'post', 'files' => true, 'id' => 'createSetting']) }}
{{ Form::label('app_name', __('messages.setting.app_name').':', ['class' => 'form-label']) }} {{ Form::text('app_name', $settings['app_name'], ['class' => 'form-control','maxLength'=> 30, 'placeholder' => __('messages.setting.app_name')]) }}
{{ Form::label('plan_expire_notification', __('messages.plan_expire_notifications').':', ['class' => 'form-label']) }} {{ Form::text('plan_expire_notification', $settings['plan_expire_notification'], ['class' => 'form-control','maxLength'=> 2,'placeholder'=>__('messages.plan_expire_notifications')]) }}
{{ Form::label('default_country_code', __('messages.common.default_country_code').':', ['class' => 'form-label']) }} {{ Form::text('default_country_code', null, ['class' => 'form-control','placeholder'=>__('Default Country Code'), 'id'=>'defaultCountryData']) }} {{ Form::hidden('default_country_code',$settings['default_country_code'] ,['id'=>'defaultCountryCode',]) }}
{{ Form::label('super_admin_currency', __('messages.setting.currency'), ['class' => 'form-label']) }}
{{ Form::label('google_captcha_key', __('messages.setting.enable_google_reCAPTCHA').':', ['class' => 'form-label']) }}
{{ Form::label('default_language',__('messages.profile.language').':', ['class' => 'form-label']) }} {{ Form::select('default_language', \App\Models\User::LANGUAGES, (isset($settings['default_language']) ? $settings['default_language'] : ''), ['id'=>'defaultLanguage','class' => 'form-select','data-control'=>'select2','data-hide-search'=> 'true','data-placeholder'=> 'language']) }}
{{ Form::label('google_captcha_key', __('messages.new_change.captcha_key').':', ['class' => 'form-label']) }} {{ Form::text('google_captcha_key',isset($settings['google_captcha_key'] ) ? $settings['google_captcha_key'] : null, ['class' => 'form-control' , 'id' => 'captchaKey' , 'placeholder' => __('Google Captcha key')]) }}
{{ Form::label('google_captcha_secret', __('messages.new_change.captcha_secret').':', ['class' => 'form-label']) }} {{ Form::text('google_captcha_secret',isset($settings['google_captcha_secret']) ? $settings['google_captcha_secret']: null, ['class' => 'form-control', 'id' => 'captchaSecret' , 'placeholder' => __('Google Captcha Secret')]) }}
{{ Form::label('app_logo', __('messages.setting.app_logo').(':'), ['class' => 'form-label']) }}
{{ Form::label('favicon', __('messages.setting.favicon').(':'), ['class' => 'form-label']) }}
{{ Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-2']) }} {{ Form::reset(__('messages.common.cancel'), ['class' => 'btn btn-secondary']) }}
{{ Form::close() }}
@endsection