Files
rohini-web/storage2/framework/views/9d4a6c9ce60fb141fbaed03a8bb08699.php
2025-12-28 12:16:05 +05:45

55 lines
2.9 KiB
PHP

<?php echo e(html()->form('POST', route('faqCategory.store'))->class('needs-validation')->attributes(['novalidate'])->open()); ?>
<?php if(isset($faqCategory)): ?>
<?php echo e(html()->hidden('id', $faqCategory->id)); ?>
<?php endif; ?>
<div class="card-body">
<div class="row">
<div class="col-sm-12">
<div class="mb-3">
<?php echo e(html()->label('Title')->for('title')); ?>
<?php echo e(html()->span('*')->class('text-danger')); ?>
<?php echo e(html()->text('title')->value($faqCategory->title ?? old('title'))->class('form-control')->placeholder('Enter Title')->required()); ?>
<?php echo e(html()->div('Please enter a title.')->class('invalid-feedback')); ?>
</div>
<div class="mb-3">
<?php echo e(html()->label('Slug')->for('slug')); ?>
<?php echo e(html()->text('slug')->value($faqCategory->slug ?? old('slug'))->class('form-control')->placeholder('Enter Category Slug')); ?>
</div>
</div>
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['href' => route('faqCategory.index'),'label' => isset($faqCategory) ? 'Update' : 'Create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('form-buttons'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('faqCategory.index')),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(isset($faqCategory) ? 'Update' : 'Create')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
<?php endif; ?>
</div>
</div>
<?php echo e(html()->form()->close()); ?>
<?php /**PATH /home/rohiniedu/public_html/Modules/CCMS/resources/views/faqCategory/add-faq-category-form.blade.php ENDPATH**/ ?>