{!! html()->form('PUT', route('master-site.update', base64_encode($site->id)))->id('masterSiteForm')->open() !!}
{!! html()->label('Site Name *', 'site_name')->toHtml() !!} {!! html()->text('site_name')->class('form-control')->value($site->site_name)->placeholder('Enter Site Name') !!}
{!! html()->label('Created By')->toHtml() !!} {!! html()->text('created_by')->class('form-control')->value($site->creator?->full_name ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->label('Created At')->toHtml() !!} {!! html()->text('created_at')->class('form-control')->value($site->created_at?->format('d-m-Y h:i A'))->attribute('readonly', true) !!}
{!! html()->label('Last Modified By')->toHtml() !!} {!! html()->text('modified_by')->class('form-control')->value($site->modifier?->full_name ?? 'N/A')->attribute('readonly', true) !!}
{!! html()->label('Last Modified At')->toHtml() !!} {!! html()->text('modified_at')->class('form-control')->value($site->modified_at?->format('d-m-Y h:i A'))->attribute('readonly', true) !!}
{!! html()->form()->close() !!}