2018-01-20 00:42:29 -08:00
|
|
|
{{-- See snipeit_modals.js for what powers this --}}
|
2017-08-24 22:24:02 -07:00
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
2021-11-23 18:28:10 -08:00
|
|
|
<h2 class="modal-title">{{ trans('admin/models/table.create') }}</h2>
|
2017-08-24 22:24:02 -07:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2018-01-20 00:42:29 -08:00
|
|
|
<form action="{{ route('api.models.store') }}" onsubmit="return false">
|
|
|
|
<div class="alert alert-danger" id="modal_error_msg" style="display:none">
|
|
|
|
</div>
|
|
|
|
<div class="dynamic-form-row">
|
|
|
|
<div class="col-md-4 col-xs-12"><label for="modal-name">{{ trans('general.name') }}:
|
|
|
|
</label></div>
|
|
|
|
<div class="col-md-8 col-xs-12 required"><input type='text' name="name" id='modal-name' class="form-control"></div>
|
|
|
|
</div>
|
2017-08-24 22:24:02 -07:00
|
|
|
|
2018-01-20 00:42:29 -08:00
|
|
|
<div class="dynamic-form-row">
|
2023-02-08 14:31:39 -08:00
|
|
|
<div class="col-md-4 col-xs-12"><label for="modal-category_id">{{ trans('general.category') }}:</label></div>
|
2018-07-16 14:22:25 -07:00
|
|
|
<div class="col-md-8 col-xs-12 required">
|
2023-02-08 14:31:39 -08:00
|
|
|
<select class="js-data-ajax" data-endpoint="categories/asset" name="category_id" style="width: 100%" id="modal-category_id"></select>
|
2018-07-16 14:22:25 -07:00
|
|
|
</div>
|
2018-01-20 00:42:29 -08:00
|
|
|
</div>
|
2017-08-24 22:24:02 -07:00
|
|
|
|
|
|
|
|
2024-09-09 16:22:56 -07:00
|
|
|
@include('modals.partials.manufacturer-select')
|
|
|
|
@include('modals.partials.model-number')
|
|
|
|
@include('modals.partials.fieldset-select')
|
|
|
|
</form>
|
2017-08-24 22:24:02 -07:00
|
|
|
</div>
|
2024-09-09 16:22:56 -07:00
|
|
|
@include('modals.partials.footer')
|
2017-08-24 22:24:02 -07:00
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|