mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-16 02:24:09 -08:00
ddf81ba135
Signed-off-by: snipe <snipe@snipe.net>
49 lines
2.9 KiB
PHP
49 lines
2.9 KiB
PHP
<div class="form-group {{ $errors->has('address') ? ' has-error' : '' }}">
|
|
{{ Form::label('address', trans('general.address'), array('class' => 'col-md-3 control-label')) }}
|
|
<div class="col-md-7">
|
|
{{Form::text('address', old('address', $item->address), array('class' => 'form-control', 'aria-label'=>'address', 'maxlength'=>'191')) }}
|
|
{!! $errors->first('address', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group {{ $errors->has('address2') ? ' has-error' : '' }}">
|
|
<label class="sr-only " for="address2">{{ trans('general.address') }}</label>
|
|
<div class="col-md-7 col-md-offset-3">
|
|
{{Form::text('address2', old('address2', $item->address2), array('class' => 'form-control', 'aria-label'=>'address2', 'maxlength'=>'191')) }}
|
|
{!! $errors->first('address2', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group {{ $errors->has('city') ? ' has-error' : '' }}">
|
|
{{ Form::label('city', trans('general.city'), array('class' => 'col-md-3 control-label', 'maxlength'=>'191')) }}
|
|
<div class="col-md-7">
|
|
{{Form::text('city', old('city', $item->city), array('class' => 'form-control', 'aria-label'=>'city')) }}
|
|
{!! $errors->first('city', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group {{ $errors->has('state') ? ' has-error' : '' }}">
|
|
{{ Form::label('state', trans('general.state'), array('class' => 'col-md-3 control-label', 'maxlength'=>'191')) }}
|
|
<div class="col-md-7">
|
|
{{Form::text('state', old('state', $item->state), array('class' => 'form-control', 'aria-label'=>'state')) }}
|
|
{!! $errors->first('state', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group {{ $errors->has('country') ? ' has-error' : '' }}">
|
|
{{ Form::label('country', trans('general.country'), array('class' => 'col-md-3 control-label')) }}
|
|
<div class="col-md-7">
|
|
{!! Form::countries('country', old('country', $item->country), 'select2') !!}
|
|
{!! $errors->first('country', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group {{ $errors->has('zip') ? ' has-error' : '' }}">
|
|
{{ Form::label('zip', trans('general.zip'), array('class' => 'col-md-3 control-label', 'maxlength'=>'10')) }}
|
|
<div class="col-md-7">
|
|
{{Form::text('zip', old('zip', $item->zip), array('class' => 'form-control')) }}
|
|
{!! $errors->first('zip', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|