2019-01-27 12:19:24 -08:00
|
|
|
{{-- See snipeit_modals.js for what powers this --}}
|
|
|
|
<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-02 07:27:13 -07:00
|
|
|
<h4 class="modal-title">{{{{ trans('admin/kits/general.append_accessory') }}}}</h4>
|
2019-01-27 12:19:24 -08:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2020-05-23 09:19:19 -07:00
|
|
|
<form action="{{ route('api.kits.accessories.store', $kitId) }}" onsubmit="return false">
|
2019-01-27 12:19:24 -08:00
|
|
|
{{ csrf_field() }}
|
|
|
|
<div class="alert alert-danger" id="modal_error_msg" style="display:none">
|
|
|
|
</div>
|
2020-05-23 09:19:19 -07:00
|
|
|
|
2019-01-27 12:19:24 -08:00
|
|
|
<div class="dynamic-form-row">
|
|
|
|
<div class="col-md-4 col-xs-12"><label for="modal-accessory_id">{{ trans('general.accessory') }}:
|
|
|
|
</label></div>
|
|
|
|
<div class="col-md-8 col-xs-12 required">
|
2020-05-20 07:23:04 -07:00
|
|
|
<select class="js-data-ajax" data-endpoint="accessories" name="accessory" style="width: 100%" id="modal-accessory_id"></select>
|
2019-01-27 12:19:24 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="dynamic-form-row">
|
2021-11-02 07:27:13 -07:00
|
|
|
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">{{ trans('general.quantity') }}:
|
2019-01-27 12:19:24 -08:00
|
|
|
</label></div>
|
|
|
|
<div class="col-md-8 col-xs-12 required">
|
|
|
|
<input type='text' name='quantity' id='modal-quantity_id' class="form-control" value="1">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">{{ trans('button.cancel') }}</button>
|
|
|
|
<button type="button" class="btn btn-primary" id="modal-save">{{ trans('general.save') }}</button>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|