@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'])!!}
{!! Form::select('designation', [null => 'Select Designation'],
['class'=>'form-control'],['class'=>'form-control','id'=>'designation'])!!}
{!! Form::text('profile_name', null, array('placeholder' => 'Name Profile','id'=>'profile_name','class' => 'form-control')) !!}
{!! Form::select('level', [null => 'Select Level'] + $levels,
['class'=>'form-control'],['class'=>'form-control','id'=>'level'])!!}
Name:
{!! Form::text('name', null, array('placeholder' => 'Name','id'=>'role_name','readonly'=>'readonly','class' => 'form-control')) !!}
{!! Form::close() !!}