form('POST', route('programLevel.store'))->class('needs-validation')->attributes(['novalidate'])->open()); ?>
hidden('id', $programLevel->id)); ?>
label('Title')->for('title')); ?>
span('*')->class('text-danger')); ?>
text('title')->value($programLevel->title ?? old('title'))->class('form-control')->placeholder('Enter Title')->required()); ?>
div('Please enter a title.')->class('invalid-feedback')); ?>
label('Description')->for('description')); ?>
textarea('description')->value($programLevel->description ?? old('description'))->class('form-control')->rows(5)->placeholder('Enter Description')); ?>
'components.form-buttons','data' => ['href' => route('programLevel.index'),'label' => isset($programLevel) ? 'Update' : 'Create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
withName('form-buttons'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('programLevel.index')),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(isset($programLevel) ? 'Update' : 'Create')]); ?>
renderComponent(); ?>
form()->close()); ?>