@extends('layouts.app') @push('pg_btn') All Roles @endpush @section('content')
{!! Form::open(['route' => 'roles.store']) !!}
Role information
{{ Form::label('name', 'Name', ['class' => 'form-control-label']) }} {{ Form::text('name', null, ['class' => 'form-control']) }}

@foreach ($permissions as $key => $permission)
{{ Form::label($permission, $permission, ['class' => 'custom-control-label']) }}
@endforeach
{{ Form::submit('Submit', ['class'=> 'mt-3 btn btn-primary']) }}
{!! Form::close() !!}
@endsection