{!! html()->form('PUT', route('likelihood-asset-consequence.update', base64_encode($item->id)))->id('likelihoodAssetConsequenceForm')->open() !!}
{!! html()->label('Likelihood Name *', 'name')->toHtml() !!} {!! html()->text('name')->class('form-control')->value($item->name)->placeholder('Likelihood 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('Column Identifier *', 'column_identifier')->toHtml() !!} {!! html()->select( 'column_identifier', ['' => 'Select One'] + \App\Models\MasterLikelihoodAssetConsequence::dropdown(), old('column_identifier', $item->column_identifier), )->class('form-control')->id('column_identifier') !!}
{!! 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('updated_at')->class('form-control')->value($item->updated_at?->format(config('constants.date_format')) ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->form()->close() !!}