{{-- Copyright (c) 2024 Duncan McQuat All rights reserved. --}} @extends('admin.layout', ['title' => 'Settings']) @include('admin.navbar') @section('content') @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
@endif @if (session('status'))
{{ session('status') }}
@endif
@csrf @foreach ($settings as $setting)
{{-- New setting types can be registered here. Settings themselves in DatabaseSeeder.php --}} @if ($setting->type == 'bool')
value == 'true') checked @endif>
@endif @if ($setting->type == 'number') @endif @if ($setting->type == 'array') @endif @if ($setting->type == 'string') @endif
@endforeach
@endsection @section('js') @vite(['resources/js/admin/flags.ts']) @endsection