@section('page_name') User list @stop @section('breadcrumbs') System Manage Users @stop @section('scripts') @stop @section('content')
User list
@foreach($users as $user) @endforeach
Initials Name Username Actions
{{ $user->initials }} {{ $user->firstname . ' ' . $user->lastname }} {{ $user->username }}

Currently showing {{ (Input::has('disabled')) ? 'Disabled Users' : 'Enabled Users' }} @if (Input::has('disabled')) @else @endif
New user
{{ Form::open(array('method' => 'post', 'id' => 'newUserForm', 'novalidate' => 'novalidate')) }}
First name: {{ Form::text('firstname', '', array('placeholder' => 'First name', 'required' => 'required', 'minlength' => '3')) }}
Last name: {{ Form::text('lastname', '', array('placeholder' => 'Last name', 'required' => 'required', 'minlength' => '3')) }}
Initials: {{ Form::text('initials', '', array('placeholder' => 'Initials', 'required' => 'required', 'minlength' => '1')) }}
Username: {{ Form::text('username', '', array('placeholder' => 'Username', 'required' => 'required', 'minlength' => '3')) }}
Password: {{ Form::password('password', array('placeholder' => 'Password', 'required' => 'required', 'minlength' => '6')) }}
Password: {{ Form::password('password_confirm', array('placeholder' => 'Password (confirm)', 'required' => 'required', 'minlength' => '6', 'equalTo' => '[name=password]')) }}
{{ Form::button(' Create user', array('class' => 'btn btn-green fr', 'type'=> 'submit')) }}
{{ Form::close() }}
@stop