{!! html()->form('PUT', route('proactive-reactive-type.update', base64_encode($item->id)))->id('proactiveReactiveTypeForm')->open() !!}
{!! html()->label('Name *', 'name')->toHtml() !!} {!! html()->text('name')->class('form-control')->value($item->name)->placeholder('Enter Name') !!}
{{-- is_proactive --}}
{!! html()->label('Is Proactive', 'is_proactive')->toHtml() !!} {!! html()->select('is_proactive', ['' => 'Select One', '1' => 'Yes', '0' => 'No'], old('is_proactive', $item->is_proactive))->class('form-control')->id('is_proactive') !!}
{!! html()->label('Created By')->toHtml() !!} {!! html()->text('created_by')->class('form-control')->value($item->creator?->full_name ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->label('Created At')->toHtml() !!} {!! html()->text('created_at')->class('form-control')->value($item->created_at?->format(config('constants.date_format')) ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->label('Last Modified By')->toHtml() !!} {!! html()->text('modified_by')->class('form-control')->value($item->modifier?->full_name ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->label('Last Modified At')->toHtml() !!} {!! html()->text('modified_at')->class('form-control')->value($item->modified_at?->format(config('constants.date_format')) ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->form()->close() !!}