mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Added dept to user edit/create/bulk edit views
This commit is contained in:
parent
d3b07411da
commit
9d45375b8a
|
@ -37,7 +37,18 @@
|
|||
</label>
|
||||
<div class="col-md-7">
|
||||
{{ Form::select('location_id', $location_list , Input::old('rtd_location_id'), array('class'=>'select2', 'style'=>'width:350px')) }}
|
||||
{!! $errors->first('status_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
||||
{!! $errors->first('location_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Department -->
|
||||
<div class="form-group {{ $errors->has('department_id') ? ' has-error' : '' }}">
|
||||
<label for="status_id" class="col-md-3 control-label">
|
||||
{{ trans('general.department') }}
|
||||
</label>
|
||||
<div class="col-md-7">
|
||||
{{ Form::select('department_id', $department_list , Input::old('department_id'), array('class'=>'select2', 'style'=>'width:350px')) }}
|
||||
{!! $errors->first('department_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -273,7 +273,19 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Location -->
|
||||
<!-- Department -->
|
||||
<div class="form-group {{ $errors->has('department_id') ? ' has-error' : '' }}">
|
||||
<label for="status_id" class="col-md-3 control-label">
|
||||
{{ trans('general.department') }}
|
||||
</label>
|
||||
<div class="col-md-7">
|
||||
{{ Form::select('department_id', $department_list , Input::old('department_id', $user->department_id), array('class'=>'select2', 'style'=>'width:350px')) }}
|
||||
{!! $errors->first('department_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Location -->
|
||||
<div class="form-group {{ $errors->has('location_id') ? 'has-error' : '' }}">
|
||||
<label class="col-md-3 control-label" for="location_id">{{ trans('admin/users/table.location') }}
|
||||
</label>
|
||||
|
|
Loading…
Reference in a new issue