@extends('layouts.app') @section('content')

Edit {{ $user->login }}

BACK
@if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{!! Form::model($user, ['method' => 'PATCH','route' => ['user.update', $user->id], 'class' => 'pure-form pure-form-aligned']) !!}
{!! Form::text('login', null, array('placeholder' => 'Name','class' => 'form-control')) !!} *
{!! Form::text('email', null, array('placeholder' => 'Email','class' => 'form-control')) !!} *
{!! Form::password('password', array('placeholder' => 'Password','class' => 'form-control')) !!} *
{!! Form::password('password_confirmation', array('placeholder' => 'Confirm Password','class' => 'form-control')) !!} *
Assign Roles
@foreach ($roles as $role) @endforeach
{!! Form::close() !!}
@endsection