@extends('layouts.admin') @section('title', 'Global settings') @section('lede', 'Identity, SEO, tracking and the SMTP account that sends booking letters. Calendar hours and the letter designs live on Appointments.') @section('content') @php $fields = config('edspire.fields', []); $groups = []; foreach ($fields as $key => $field) { $groups[$field['group'] ?? 'Other'][$key] = $field; } $groupNames = array_keys($groups); @endphp
@csrf
@foreach($groupNames as $name) @endforeach
@foreach($groups as $title => $items)

{{ $title }}

@foreach($items as $key => $field) @php $label = $field['label'] ?? str_replace('_', ' ', $key); $needle = strtolower($label.' '.$key.' '.($field['help'] ?? '')); @endphp @endforeach
@endforeach @if($media->isNotEmpty())

Media gallery

Click a picture, then choose where it goes.

@foreach($media as $file)
{{ $file->alt }}
@endforeach
@endif
Open the 404 monitor
@csrf

Send a test

Save the SMTP fields first. This sends the owner letter with sample school details, including the Google Calendar button.

@endsection