A free open source IT asset/license management system
Migrate form label on consumable select
Marcus Moore288f7e4e935c
diff --git a/resources/views/partials/forms/edit/consumable-select.blade.php b/resources/views/partials/forms/edit/consumable-select.blade.phpindex d2d084d0b4..ccc8030a77 100644--- a/resources/views/partials/forms/edit/consumable-select.blade.php+++ b/resources/views/partials/forms/edit/consumable-select.blade.php@@ -1,6 +1,6 @@<!-- Consumable --><div id="assigned_consumable" class="form-group{{ $errors->has($fieldname) ? ' has-error' : '' }}"{!! (isset($style)) ? ' style="'.e($style).'"' : '' !!}>- {{ Form::label($fieldname, $translated_name, array('class' => 'col-md-3 control-label')) }}+ <label for="{{ $fieldname }}" class="col-md-3 control-label">{{ $translated_name }}</label><div class="col-md-7{{ ((isset($required) && ($required =='true'))) ? ' required' : '' }}"><select class="js-data-ajax select2" data-endpoint="consumables" data-placeholder="{{ trans('general.select_consumable') }}" name="{{ $fieldname }}" style="width: 100%" id="{{ (isset($select_id)) ? $select_id : 'assigned_consumable_select' }}"{{ (isset($multiple)) ? ' multiple' : '' }}>