Fix Missing Category selection in Asset Model Modal dialog.

A select html tag needs a full closing tag. is not valid. This was causing the select2 js to barf and eat additional information.
This commit is contained in:
Daniel Meltzer 2020-05-20 10:29:27 -04:00
parent f88683766b
commit 8210da6e82
No known key found for this signature in database
GPG key ID: 91C5C7B09A5B1CA0

View file

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