@extends('backend/layouts/default') {{-- Page title --}} @section('title') @if ($user->id) @lang('admin/users/table.updateuser') {{ $user->fullName() }} :: @else @lang('admin/users/table.createuser') :: @endif @parent @stop {{-- Page content --}} @section('content')


{{ $errors->first('first_name', '
:message') }}
{{ $errors->first('last_name', '
:message') }}
id)) ? ' disabled' : '') }}> @if (Config::get('app.lock_passwords') && ($user->id))

@lang('admin/users/table.lock_passwords')

@endif {{ $errors->first('email', '
:message') }}
{{ $errors->first('employee_num', '
:message') }}
{{ $errors->first('jobtitle', '
:message') }}
{{ Form::select('manager_id', $manager_list , Input::old('manager_id', $user->manager_id), array('class'=>'select2', 'style'=>'width:250px')) }} {{ $errors->first('manager_id', '
:message') }}
{{ Form::select('location_id', $location_list , Input::old('location_id', $user->location_id), array('class'=>'select2', 'style'=>'width:250px')) }} {{ $errors->first('location_id', '
:message') }}
{{ $errors->first('phone', '
:message') }}
id)) ? ' disabled' : '') }}> {{ $errors->first('password', '
:message') }}
id)) ? ' disabled' : '') }}> @if (Config::get('app.lock_passwords') && ($user->id))

@lang('admin/users/table.lock_passwords')

@endif {{ $errors->first('password_confirm', '
:message') }}
{{ $errors->first('username', '
:message') }}

@lang('admin/users/table.username_note')

id === Sentry::getId() ? ' disabled="disabled"' : '') }} name="activated" id="activated" {{ ((Config::get('app.lock_passwords') && ($user->id)) ? ' disabled' : '') }}> @if ($user->id) @else @endif {{ $errors->first('activated', '
:message') }}
@lang('admin/users/table.groupnotes')
@if (!$user->id)
{{ Form::checkbox('email_user', '1', Input::old('email_user')) }} Email this user their credentials?
@endif


@if (Config::get('app.lock_passwords') && ($user->id))

@lang('admin/users/table.lock_passwords')

@endif @foreach ($permissions as $area => $permissions)
{{ $area }} @foreach ($permissions as $permission)
@if ($permission['can_inherit'])
@endif
@endforeach
@endforeach

@lang('button.cancel')
@stop