@extends('contentNavbarLayout')
@section('title', strtoupper($recordType->name) . ' Form')
@section('content')
{{ $recordType->name }} FORM
{{-- Success Message --}}
@if(session('success'))
{{ session('success') }}
@endif
{{-- Global Error List (optional, shows all errors together) --}}
@if ($errors->any())
Whoops! There were some problems with your input:
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
@if($recordType->properties->isEmpty())
Form not configured for this record type.
@else
@endif
@endsection