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