@extends('layouts.master') @section('contain')

{{ auth()->user()->user_role == 'sub_admin' ? 'Poll Management' : 'Stock Poll Management' }}

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

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::open(['route' => 'roles.store', 'method' => 'POST']) !!}
Name: {!! Form::text('name', null, ['placeholder' => 'Name', 'class' => 'form-control']) !!}
Permission:
@foreach ($permission as $value)
@endforeach
{!! Form::close() !!}
@endsection