Replace calls to Form::label in license-select partial

This commit is contained in:
Marcus Moore 2025-02-05 13:24:02 -08:00
parent 0988255693
commit 0aa77d281f
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
<!-- License -->
<div id="assigned_license" 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 select2" data-endpoint="licenses" data-placeholder="{{ trans('general.select_license') }}" name="{{ $fieldname }}" style="width: 100%" id="{{ (isset($select_id)) ? $select_id : 'assigned_license_select' }}"{{ (isset($multiple)) ? ' multiple' : '' }}{{ ((isset($required) && ($required =='true'))) ? ' required' : '' }}>