form('POST', route('galleryCategory.store'))->class('needs-validation')->attributes(['novalidate'])->open()); ?> hidden('id', $galleryCategory->id)); ?>
label('Title')->for('title')); ?> span('*')->class('text-danger')); ?> text('title')->value($galleryCategory->title ?? old('title'))->class('form-control')->placeholder('Enter Title')->required()); ?> div('Please enter a title.')->class('invalid-feedback')); ?>
label('Slug')->for('slug')); ?> text('slug')->value($galleryCategory->slug ?? old('slug'))->class('form-control')->placeholder('Enter Category Slug')); ?>
'components.form-buttons','data' => ['href' => route('galleryCategory.index'),'label' => isset($galleryCategory) ? '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('galleryCategory.index')),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(isset($galleryCategory) ? 'Update' : 'Create')]); ?> renderComponent(); ?>
form()->close()); ?>