@extends('layouts.main') @section('content')
@if (!file_exists(base_path() . '/install.lock'))

{{ __('The installer is not locked!') }}

{{ __('please create a file called "install.lock" in your dashboard Root directory. Otherwise no settings will be loaded!') }}

@endif
{{ __('Settings') }}
@foreach ($settings as $category => $options)
@csrf @method('POST') @foreach ($options as $key => $value) @if ($key == 'category_icon' || $key == 'settings_class') @continue @endif
@if ($value['description']) @else @endif
@switch($value) @case($value['type'] == 'string') @break @case($value['type'] == 'boolean') @break @case($value['type'] == 'number') @break @case($value['type'] == 'select') @break @case($value['type'] == 'multiselect') @break @case($value['type'] == 'textarea') @break @default @endswitch @error($key)
{{ $message }}
@enderror
@endforeach
@endforeach
@endsection