124 lines
6.4 KiB
PHP
124 lines
6.4 KiB
PHP
<div class="row">
|
|
<div class="col-lg-8 col-xl-9">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<div class="row gy-3">
|
|
<div class="col-md-6">
|
|
<?php echo e(html()->label('Name')->class('form-label')); ?>
|
|
|
|
<?php echo e(html()->span('*')->class('text-danger')); ?>
|
|
|
|
<?php echo e(html()->text('title')->class('form-control')->placeholder('Enter Name')->required()); ?>
|
|
|
|
<?php echo e(html()->div('Name is required')->class('invalid-feedback')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
<?php echo e(html()->label('Location')->class('form-label')); ?>
|
|
|
|
<?php echo e(html()->text('designation')->class('form-control')->placeholder('Enter Location')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
<?php echo e(html()->label('Company')->class('form-label')); ?>
|
|
|
|
<?php echo e(html()->text('company')->class('form-control')->placeholder('Enter Company')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<?php echo e(html()->label('Branch')->class('form-label')->for('branch_id')); ?>
|
|
|
|
<?php echo e(html()->select('branch_id', $branchOptions)->class('form-select choices-select')->placeholder('Select')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
<?php echo e(html()->label('Comment')->class('form-label')->for('description')); ?>
|
|
|
|
<?php echo e(html()->span('*')->class('text-danger')); ?>
|
|
|
|
<?php echo e(html()->textarea('description')->class('form-control')->rows(10)); ?>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end col -->
|
|
<div class="col-lg-4 col-xl-3">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h5 class="card-title mb-0">Publish</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<?php echo e(html()->select('status', config('constants.page_status_options'))->class('form-select choices-select ')); ?>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end card body -->
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Save','href' => ''.e(route('team.index')).'']] + (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(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Save','href' => ''.e(route('team.index')).'']); ?>
|
|
<?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 class="card featured-image-section">
|
|
<div class="card-header">
|
|
<h6 class="card-title mb-0 fs-14">
|
|
Featured
|
|
</h6>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="mb-3">
|
|
<?php echo e(html()->label('Image')->class('form-label')->for('image')); ?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4a95833b519aeb799c35637497d32ce2 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4a95833b519aeb799c35637497d32ce2 = $attributes; } ?>
|
|
<?php $component = App\View\Components\ImageInput::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('image-input'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\App\View\Components\ImageInput::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'id' => 'image','name' => 'image','data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable ? $testimonial->getRawOriginal('image') : null),'multiple' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $attributes = $__attributesOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__attributesOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $component = $__componentOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__componentOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end col -->
|
|
</div>
|
|
<?php /**PATH D:\installed\xampp\htdocs\Consultancy-CCMS\Modules/CCMS\resources/views/testimonial/partials/_form.blade.php ENDPATH**/ ?>
|