{!! html()->label('System Name')->for('name')->class('form-label') !!} {!! html()->text('name', (isset($system) ? $system->name : old('name')))->class('form-control') !!}
{!! html()->label('System Code')->for('code')->class('form-label') !!} {!! html()->text('code', (isset($system) ? $system->code : old('code')))->class('form-control') !!}
{!! html()->label('System Details')->for('details')->class('form-label') !!} {!! html()->text('details', (isset($system) ? $system->details : old('details')))->class('form-control') !!}
{!! html()->label('System Goal')->for('goal')->class('form-label') !!} {!! html()->text('goal', (isset($system) ? $system->goal : old('goal')))->class('form-control') !!}
{!! html()->label('Linked Systems')->for('linked_system_id')->class('form-label') !!}
{!! html()->label('References')->for('reference_id')->class('form-label') !!}
@if ($system->id != NULL)
@endif
@if (!isset($system)) @include('backend.pages.systems.partials.requirment', compact(['functionality_rows'])) @else @foreach ($system->requirements as $requirement) @php $functionality_rows = $loop->index; @endphp @include('backend.pages.systems.partials.requirment', compact(['requirement', 'functionality_rows'])) @endforeach @endif