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

Edit Role

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

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

2021