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

@lang('Edit Role')

@endsection @section('content') @if (count($errors) > 0)
@lang('Whoops!') @lang('There were some problems with your input.')

@endif
{!! Form::model($role, ['method' => 'PATCH','route' => ['roles.update', $role->id]]) !!}
@lang('Name'): {!! Form::text('name', null, array('placeholder' => __('Name'),'class' => 'form-control')) !!}
@lang('Permissions'):
@foreach($permission as $value)
@endforeach
{!! Form::close() !!}
@endsection