mirror of
https://github.com/snipe/snipe-it.git
synced 2026-03-12 11:32:04 +00:00
# Conflicts: # resources/views/settings/saml.blade.php # resources/views/settings/security.blade.php # resources/views/setup/user.blade.php
50 lines
3.0 KiB
PHP
50 lines
3.0 KiB
PHP
<div class="form-group {{ $errors->has('address') ? ' has-error' : '' }}">
|
|
<label for="address" class="col-md-3 control-label">{{ trans('general.address') }}</label>
|
|
<div class="col-md-7">
|
|
<input class="form-control" aria-label="address" maxlength="191" name="address" type="text" id="address" value="{{ old('address', $item->address) }}">
|
|
{!! $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">
|
|
<input class="form-control" aria-label="address2" maxlength="191" name="address2" type="text" value="{{ old('address2', $item->address2) }}">
|
|
{!! $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' : '' }}">
|
|
<label for="city" class="col-md-3 control-label">{{ trans('general.city') }}</label>
|
|
<div class="col-md-7">
|
|
<input class="form-control" aria-label="city" maxlength="191" name="city" type="text" id="city" value="{{ old('city', $item->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' : '' }}">
|
|
<label for="state" class="col-md-3 control-label">{{ trans('general.state') }}</label>
|
|
<div class="col-md-7">
|
|
<input class="form-control" aria-label="state" maxlength="191" name="state" type="text" id="state" value="{{ old('state', $item->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' : '' }}">
|
|
<label for="country" class="col-md-3 control-label">{{ trans('general.country') }}</label>
|
|
<div class="col-md-7">
|
|
{!! Form::countries('country', old('country', $item->country), 'select2') !!}
|
|
<p class="help-block">{{ trans('general.countries_manually_entered_help') }}</p>
|
|
{!! $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' : '' }}">
|
|
<label for="zip" class="col-md-3 control-label" maxlength="10">{{ trans('general.zip') }}</label>
|
|
<div class="col-md-7">
|
|
<input class="form-control" name="zip" type="text" id="zip" value="{{ old('zip', $item->zip) }}">
|
|
{!! $errors->first('zip', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|