Migrate form label in phone input partial

This commit is contained in:
Marcus Moore 2025-02-05 13:32:06 -08:00
parent 3327e1d8f2
commit 4834f60a44
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
<div class="form-group {{ $errors->has('phone') ? ' has-error' : '' }}">
{{ Form::label('phone', trans('admin/suppliers/table.phone'), array('class' => 'col-md-3 control-label')) }}
<label for="phone" class="col-md-3 control-label">{{ trans('admin/suppliers/table.phone') }}</label>
<div class="col-md-7">
{{Form::text('phone', old('phone', $item->phone), array('class' => 'form-control', 'aria-label'=>'phone', 'maxlength'=>'191')) }}
{!! $errors->first('phone', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}