@extends('backend.layouts.form') @section('section', admin_trans('Themes')) @section('title', $theme->name . ' ' . admin_trans('theme settings')) @section('back', route('admin.appearance.themes.index')) @section('content')
{{ str($activeGroup)->replace('_', ' ') }}
@csrf
@foreach ($themeSettingsCollection as $themeSetting) @if ($themeSetting->field === 'input')
@if (isset($themeSetting->disabled) && $themeSetting->disabled) @else required ? 'required' : '' }}> @endif
@elseif ($themeSetting->field === 'number')
required ? 'required' : '' }}>
@elseif ($themeSetting->field === 'textarea')
@elseif ($themeSetting->field === 'ckeditor')
@elseif ($themeSetting->field === 'select')
@elseif ($themeSetting->field === 'bootstrap-select')
@elseif ($themeSetting->field === 'checkbox')
required ? 'required' : '' }} {{ $themeSetting->value ? 'checked' : '' }}>
@elseif ($themeSetting->field === 'radios')
@foreach ($themeSetting->options as $key => $value)
value == $key ? 'checked' : '' }}>
@endforeach
@elseif ($themeSetting->field === 'toggle')
required ? 'required' : '' }} data-toggle="toggle" {{ $themeSetting->value ? 'checked' : '' }}>
@elseif ($themeSetting->field === 'color')
required ? 'required' : '' }}>
@elseif ($themeSetting->field === 'image')
@if ($themeSetting->box_type == 'regular')
{{ $themeSetting->label }}
{{ $themeSetting->key }}
@if ($themeSetting->description)
{{ $themeSetting->description }}
@endif
@elseif ($themeSetting->box_type == 'square-small')
{{ $themeSetting->key }}
@if ($themeSetting->description) {{ $themeSetting->description }} @endif
@elseif ($themeSetting->box_type == 'square-large')
{{ $themeSetting->key }}
@if ($themeSetting->description) {{ $themeSetting->description }} @endif
@elseif ($themeSetting->box_type == 'full')
{{ $themeSetting->key }}
@if ($themeSetting->description)
{{ $themeSetting->description }}
@endif
@endif
@endif @endforeach
@push('styles_libs') @endpush @push('scripts_libs') @endpush @endsection