FEATURE #1359: add status changing (user management)

This commit is contained in:
Michal Kváček
2016-01-24 23:38:34 +01:00
parent f872475752
commit 6af60248e6
5 changed files with 103 additions and 22 deletions
@@ -41,6 +41,22 @@
{{ $errors->first('role') }}
</div>
@endif
<label>
@lang('admin/userManagement.status')
<select name="status">
@foreach($states as $status => $translation)
<option value="{{$status}}" @if($status == $user->status) selected @endif>@lang($translation)</option>
@endforeach
</select>
</label>
@if (isset($errors) && $errors->has('role'))
<div class="callout alert">
{{ $errors->first('role') }}
</div>
@endif
@endif
<label>