@extends('layouts.fixed') @section('title','Smarty Cab') @section('content')

Edit User


Personal Information

{{ Form::model($user,['action'=>['UserController@update',$user->id],'method'=>'patch']) }}
{{ Form::text('name',null,['class'=>'form-control']) }} @if($errors->has('name')){{ $errors->first('name') }}@endif
{{ Form::text('email',null,['class'=>'form-control']) }} @if($errors->has('email')){{ $errors->first('email') }}@endif
{{ Form::select('roles[]',$roles,null,['class'=>'form-control select2','multiple']) }} @if($errors->has('roles')){{ $errors->first('roles') }}@endif
{{ Form::close() }}

Edit Password


Password Information

{{ Form::model($user,['action'=>['UserController@update',$user->id],'method'=>'patch']) }}
{{ Form::password('password',['class'=>'form-control']) }} @if($errors->has('password')){{ $errors->first('password') }}@endif
{{ Form::password('password_confirmation',['class'=>'form-control']) }}
{{ Form::close() }}
@stop @section('script') @stop