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

Edit {{ $role->login }}

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

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{!! Form::model($role, ['method' => 'PATCH','route' => ['role.update', $role->id], 'class' => 'pure-form pure-form-aligned']) !!}
{!! Form::label('name', 'Name:', ['class' => 'control-label']) !!} {!! Form::text('name', null, array('placeholder' => 'Name','class' => 'form-control')) !!} *
Assign Permissions
@foreach ($permissions as $permission) @endforeach
{!! Form::close() !!}
@endsection