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

Edit role {{ $role->name }}

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' => ['access.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')) !!} *
{!! Form::label('display_name', 'Display Label:', ['class' => 'control-label']) !!} {!! Form::text('display_name', null, array('placeholder' => 'Display Label','class' => 'form-control')) !!}
{!! Form::label('description', 'Description:', ['class' => 'control-label']) !!} {!! Form::text('description', null, array('placeholder' => 'Description for the role','class' => 'form-control')) !!}
Assign Permissions
@foreach ($permissions as $permission) @endforeach
{!! Form::close() !!}
@endsection