File: /var/www/ivs.kaunokolegija.lt/laravel/storage/framework/views/4a74ff180b23510d6d793d7cf9c4ac57.php
<div class="form-group">
<label class="required" for="scientists"><?php echo e(trans('cruds.patentApplication.fields.scientist')); ?></label>
<div style="padding-bottom: 4px">
<span class="btn btn-info btn-xs select-all" style="border-radius: 0"><?php echo e(trans('global.select_all')); ?></span>
<span class="btn btn-info btn-xs deselect-all" style="border-radius: 0"><?php echo e(trans('global.deselect_all')); ?></span>
</div>
<div class="d-flex align-items-center">
<select class="form-control select2 <?php echo e($errors->has('scientists') ? 'is-invalid' : ''); ?>" name="scientists[]" id="scientists" multiple required>
<?php $__currentLoopData = $scientists; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $scientist): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($scientist->id); ?>" <?php echo e(in_array($scientist->id, old('scientists', [])) ? 'selected' : ''); ?>><?php echo e($scientist->name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('scientist_create')): ?>
<?php if($useModal): ?>
<?php echo $__env->make('layouts.form_modal', ['fieldsLink' => 'admin.scientists.scientists-fields', 'compName' => 'Scientist', 'route' => route('admin.scientists.store'), 'title' => trans('global.create') . ' ' . trans('cruds.scientist.title_singular'), 'useModal' => false, 'nameModal' => true, 'modalBtn' => true], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<button class="btn btn-outline-primary ms-2" data-select-id="scientists" id="openScientistModal" >
<i class="fa fa-plus"></i>
</button>
<?php endif; ?>
<?php endif; ?>
<?php if($errors->has('scientists')): ?>
<span class="text-danger"><?php echo e($errors->first('scientists')); ?></span>
<?php endif; ?>
<span class="help-block"><?php echo e(trans('cruds.patentApplication.fields.scientist_helper')); ?></span>
</div>
</div>
<?php if (isset($component)) { $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96 = $attributes; } ?>
<?php $component = App\View\Components\Form\Input::resolve(['label' => ''.e(trans('cruds.patentApplication.fields.year')).'','required' => 'true','name' => 'year','helpLabel' => ''.e(trans('cruds.patentApplication.fields.year_helper')).'','isDate' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Form\Input::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $attributes = $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $component = $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<div class="form-group">
<label class="required" for="tags"><?php echo e(trans('cruds.patentApplication.fields.tag')); ?></label>
<div style="padding-bottom: 4px">
<span class="btn btn-info btn-xs select-all" style="border-radius: 0"><?php echo e(trans('global.select_all')); ?></span>
<span class="btn btn-info btn-xs deselect-all" style="border-radius: 0"><?php echo e(trans('global.deselect_all')); ?></span>
</div>
<div class="d-flex align-items-center">
<select class="form-control select2 <?php echo e($errors->has('tags') ? 'is-invalid' : ''); ?>" name="tags[]" id="tags" multiple required>
<?php $__currentLoopData = $tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($id); ?>" <?php echo e(in_array($id, old('tags', [])) ? 'selected' : ''); ?>><?php echo e($tag); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('patent_tag_create')): ?>
<?php if($nameModal): ?>
<?php if (isset($component)) { $__componentOriginal863456d2b7044be7ea705fd9162e9dfc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal863456d2b7044be7ea705fd9162e9dfc = $attributes; } ?>
<?php $component = App\View\Components\Modal\CreateNameModal::resolve(['compName' => 'PatentTag','title' => ''.e(trans('global.add')).'','name' => 'name','label' => ''.e(trans('cruds.patentTag.fields.name')).'','route' => ''.e(route('admin.patent-tags.store')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('modal.create-name-modal'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Modal\CreateNameModal::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal863456d2b7044be7ea705fd9162e9dfc)): ?>
<?php $attributes = $__attributesOriginal863456d2b7044be7ea705fd9162e9dfc; ?>
<?php unset($__attributesOriginal863456d2b7044be7ea705fd9162e9dfc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal863456d2b7044be7ea705fd9162e9dfc)): ?>
<?php $component = $__componentOriginal863456d2b7044be7ea705fd9162e9dfc; ?>
<?php unset($__componentOriginal863456d2b7044be7ea705fd9162e9dfc); ?>
<?php endif; ?>
<?php endif; ?>
<?php if($modalBtn): ?>
<button type="button" data-select-id="tags" class="btn btn-outline-primary ms-2" id="openPatentTagModal">
<i class="fa fa-plus"></i>
</button>
<?php endif; ?>
<?php endif; ?>
<?php if($errors->has('tags')): ?>
<span class="text-danger"><?php echo e($errors->first('tags')); ?></span>
<?php endif; ?>
<span class="help-block"><?php echo e(trans('cruds.patentApplication.fields.tag_helper')); ?></span>
</div>
</div>
<?php if (isset($component)) { $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96 = $attributes; } ?>
<?php $component = App\View\Components\Form\Input::resolve(['label' => ''.e(trans('cruds.patentApplication.fields.title')).'','name' => 'title','required' => 'true','helpLabel' => ''.e(trans('cruds.patentApplication.fields.title_helper')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Form\Input::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $attributes = $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $component = $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<?php if (isset($component)) { $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96 = $attributes; } ?>
<?php $component = App\View\Components\Form\Input::resolve(['label' => ''.e(trans('cruds.patentApplication.fields.number')).'','name' => 'number','required' => 'true','helpLabel' => ''.e(trans('cruds.patentApplication.fields.number_helper')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Form\Input::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $attributes = $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $component = $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<div class="form-group">
<label class="required" for="input"><?php echo e(trans('cruds.patentApplication.fields.input')); ?></label>
<input class="form-control <?php echo e($errors->has('input') ? 'is-invalid' : ''); ?>" type="number" name="input" id="input" value="<?php echo e(old('input', '')); ?>" step="0.001" required>
<?php if($errors->has('input')): ?>
<span class="text-danger"><?php echo e($errors->first('input')); ?></span>
<?php endif; ?>
<span class="help-block"><?php echo e(trans('cruds.patentApplication.fields.input_helper')); ?></span>
</div><?php /**PATH /var/www/ivs.kaunokolegija.lt/laravel/resources/views/admin/patentApplications/patent-applications-fields.blade.php ENDPATH**/ ?>