@extends('index') @section('content')

Edit user

{{ Form::model($user, array('class' => 'tab-content form-horizontal form-bordered krik-account-settings')) }}
{{ Form::label('name', 'Name', array('class' => 'control-label')) }} {{ Form::text('name', null, array('class' => 'form-control')) }}
{{ Form::label('email', 'E-mail', array('class' => 'control-label')) }} {{ Form::text('email', null, array('class' => 'form-control', 'readonly' => true)) }}
{{ Form::label('password', 'Password', array('class' => 'control-label')) }} {{ Form::password('password', array('class' => 'form-control')) }} {{ Form::label('password', 'Your password must be more than 6 characters long, should contain at-least 1 uppercase, 1 lowercase, 1 numeric and 1 special character.', array('class' => 'control-label')) }}
{{ Form::label('password_confirmation', 'Confirm Password', array('class' => 'control-label')) }} {{ Form::password('password_confirmation', array('class' => 'form-control')) }}
{{ Form::label('role', 'Role', array('class' => 'control-label')) }} {{ Form::select('role', array('1' => 'Admin', '2' => 'Reporter'), null, ['placeholder' => 'Select role', 'class' => 'form-control']) }}
{{ Form::label('user_permissions[]', 'Permissions', array('class' => 'control-label')) }} {{ Form::label('user_permissions[]', 'Users with Reporter role needs to have permissions to be able to see events.', array('class' => 'control-label')) }}
{{ Form::close() }}
{!! JsValidator::formRequest('App\Http\Requests\User\EditUser') !!} @endsection