mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
49 lines
2.8 KiB
PHP
49 lines
2.8 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')) }}
|
|
{!! $errors->first('address', '<span class="alert-msg" aria-hidden="true"><i class="fa 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')) }}
|
|
{!! $errors->first('address2', '<span class="alert-msg" aria-hidden="true"><i class="fa 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')) }}
|
|
<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="fa 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')) }}
|
|
<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="fa 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-5">
|
|
{!! Form::countries('country', old('country', $item->country), 'select2') !!}
|
|
{!! $errors->first('country', '<span class="alert-msg" aria-hidden="true"><i class="fa 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')) }}
|
|
<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="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|