@extends('layouts.app', ['title' => 'Custom fields']) @section('content')

Settings

Extra details you want to store on every contact, such as "Course interest" or "Budget".

@include('settings._nav')
New custom field
@csrf
@error('name')
{{ $message }}
@enderror
@error('options')
{{ $message }}
@enderror
Fields ({{ $fields->count() }})
@if ($fields->isEmpty())
No custom fields yet.
@else
@foreach ($fields as $field) @endforeach
NameTypeKey (for imports and forms)
@csrf @method('PUT') @if ($field->type === 'select') @endif
{{ \App\Models\CustomField::TYPES[$field->type] ?? $field->type }} {{ $field->key }}
@csrf @method('DELETE')
@endif
@endsection @push('scripts') @endpush