@extends('layouts.master') @section('title', '- Group List') @section('links') @endsection @section('content-header', 'Group List') @section('breadcrumb') @endsection @section('content')

Add Role

Add Role

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

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{!! Form::open(array('route' => 'roles.store','method'=>'POST')) !!} {{ Form::radio('select_role', 'r_department' , true) }} By Department {{ Form::radio('select_role', 'r_designation' , false) }} By Designation {{ Form::radio('select_role', 'r_profile' , false) }} By Profile
{!! Form::select('department', [null => 'Select Department'] + $department, ['class'=>'form-control'],['class'=>'form-control','id'=>'department'])!!}
Name: {!! Form::text('name', null, array('placeholder' => 'Name','id'=>'role_name','readonly'=>'readonly','class' => 'form-control')) !!}
Permission:
@foreach($permission as $value)

@endforeach
{!! Form::close() !!}
@endsection @section('scripts') @endsection