@extends('layouts.master') @section('content')
{{ $title }}
View for adding a role
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif
{!! Form::open(array('route' => 'roles.store','method'=>'POST')) !!}
Name: {!! Form::text('name', null, array('placeholder' => 'Name','class' => 'form-control')) !!}
Permission:
@foreach($permission as $value)
@endforeach
{!! Form::close() !!}
@endsection