snipe-it/resources/views/modals/partials/categories-select.blade.php

11 lines
534 B
PHP
Raw Normal View History

2024-09-09 16:34:04 -07:00
<!-- modals/partials/categories-select.blade.php -->
@php
$required = $required ?? '';
@endphp
2024-09-09 16:34:04 -07:00
<div class="dynamic-form-row">
<div class="col-md-4 col-xs-12"><label for="modal-category_id">{{ trans('general.category') }}:</label></div>
<div class="col-md-8 col-xs-12 required">
<select class="js-data-ajax" data-endpoint="categories/asset" name="category_id" style="width: 100%" id="modal-category_id" {{$required ? 'required' : ''}}></select>
2024-09-09 16:34:04 -07:00
</div>
</div>
<!-- modals/partials/categories-select.blade.php -->