@extends('contentNavbarLayout') @section('title', 'Edit Properties for ' . $recordType->name) @section('content')
Edit Properties – {{ $recordType->name }}
@csrf @method('PUT')
@foreach($allProperties as $property) @php $isAssigned = $recordType->properties->contains($property->id); $isRequired = false; if ($isAssigned) { $pivot = $recordType->properties->find($property->id)->pivot ?? null; $isRequired = $pivot && $pivot->is_required; } @endphp @endforeach
Select Property Name Data Type Required
{{ ucfirst($property->data_type) }}
Cancel
@endsection