mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Migrate form labels on create supplier page
This commit is contained in:
parent
85bc8bc8f0
commit
7f0133a4d6
|
@ -14,7 +14,7 @@
|
|||
@include ('partials.forms.edit.address')
|
||||
|
||||
<div class="form-group {{ $errors->has('contact') ? ' has-error' : '' }}">
|
||||
{{ Form::label('contact', trans('admin/suppliers/table.contact'), array('class' => 'col-md-3 control-label')) }}
|
||||
<label for="contact" class="col-md-3 control-label">{{ trans('admin/suppliers/table.contact') }}</label>
|
||||
<div class="col-md-7">
|
||||
{{Form::text('contact', old('contact', $item->contact), array('class' => 'form-control')) }}
|
||||
{!! $errors->first('contact', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||
|
@ -26,7 +26,7 @@
|
|||
@include ('partials.forms.edit.email')
|
||||
|
||||
<div class="form-group {{ $errors->has('url') ? ' has-error' : '' }}">
|
||||
{{ Form::label('url', trans('general.url'), array('class' => 'col-md-3 control-label')) }}
|
||||
<label for="url" class="col-md-3 control-label">{{ trans('general.url') }}</label>
|
||||
<div class="col-md-7">
|
||||
{{Form::text('url', old('url', $item->url), array('class' => 'form-control')) }}
|
||||
{!! $errors->first('url', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||
|
|
Loading…
Reference in a new issue