Merge pull request #8063 from dmeltzer/backport-8092

BACKPORT: Fix Missing Category selection in Asset Model Modal dialog - [ch14635]
This commit is contained in:
snipe 2020-05-20 10:21:52 -07:00 committed by GitHub
commit 001e721530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@
<div class="col-md-4 col-xs-12"><label for="modal-manufacturer_id">{{ trans('general.manufacturer') }}: <div class="col-md-4 col-xs-12"><label for="modal-manufacturer_id">{{ trans('general.manufacturer') }}:
</label></div> </label></div>
<div class="col-md-8 col-xs-12 required"> <div class="col-md-8 col-xs-12 required">
<select class="js-data-ajax" data-endpoint="manufacturers" name="manufacturer_id" style="width: 100%" id="modal-manufactuer_id" /> <select class="js-data-ajax" data-endpoint="manufacturers" name="manufacturer_id" style="width: 100%" id="modal-manufactuer_id"></select>
</div> </div>
</div> </div>
@ -27,7 +27,7 @@
<div class="col-md-4 col-xs-12"><label for="modal-category_id">{{ trans('general.category') }}: <div class="col-md-4 col-xs-12"><label for="modal-category_id">{{ trans('general.category') }}:
</label></div> </label></div>
<div class="col-md-8 col-xs-12 required"> <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" /> <select class="js-data-ajax" data-endpoint="categories/asset" name="category_id" style="width: 100%" id="modal-category_id"></select>
</div> </div>
</div> </div>