{!! html()->form('PUT', route('infrastructure-categories.update', base64_encode($category->id)))->id('infrastructureCategoryForm')->open() !!}
{{-- Infrastructure Category --}}
{!! html()->label('Infrastructure Category *', 'infrastructure_category_name')->toHtml() !!} {!! html()->text('infrastructure_category_name')->class('form-control')->value($category->infrastructure_category_name)->placeholder('Enter Infrastructure Category') !!}
{{-- Metadata Fields --}}
{!! html()->label('Created By')->toHtml() !!} {!! html()->text('created_by')->class('form-control')->value($category->creator?->full_name ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->label('Created At')->toHtml() !!} {!! html()->text('created_at')->class('form-control')->value($category->created_at?->format(config('constants.date_format')))->attribute('readonly', true) !!}
{!! html()->label('Last Modified By')->toHtml() !!} {!! html()->text('modified_by')->class('form-control')->value($category->modifier?->full_name ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->label('Last Modified At')->toHtml() !!} {!! html()->text('updated_at')->class('form-control')->value($category->updated_at?->format(config('constants.date_format')))->attribute('readonly', true) !!}
{!! html()->form()->close() !!}