Skip to content

A free open source IT asset/license management system

Replace calls to Form::label in (unused?) kit select

Marcus Moore098825569368
diff --git a/resources/views/partials/forms/edit/kit-select.blade.php b/resources/views/partials/forms/edit/kit-select.blade.php
index d8c6ba1013..cd1801f163 100644
--- a/resources/views/partials/forms/edit/kit-select.blade.php
+++ b/resources/views/partials/forms/edit/kit-select.blade.php
@@ -1,6 +1,6 @@
<div id="kit_id" 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">
<select class="js-data-ajax" data-endpoint="kits" data-placeholder="{{ trans('partials/forms/general.placeholder_kit') }}" name="{{ $fieldname }}" style="width: 100%" id="kit_id_select"{{ ((isset($required)) && ($required=='true')) ? ' required' : '' }}>