@extends('admin.layout') @section('title', 'Form: '.$form->name) @section('content') @php($s = $form->settings) @php($actions = $s['actions'] ?? [])
@csrf @method('PUT')

General

When someone submits

Messages

Fields

@foreach ($form->fields as $f)@endforeach
{{ $f['label'] ?: ($f['placeholder'] ?: '—') }}{{ $f['type'] }}{{ $f['required'] ? ' · required' : '' }}[field id="{{ $f['id'] }}"]

Email to the school

Confirmation to the visitor

View submissions
@endsection