@extends('layouts.master') @section('css') @section('title') {{ __('roles.add_permisssion') }} @stop @endsection @section('page-header')
@endsection @section('content') @php $isAr = app()->getLocale() == 'ar'; @endphp @if ($errors->any())
@endif {!! Form::open(['route' => 'roles.store', 'method' => 'POST']) !!}
{!! Form::text('name', null, ['class' => 'form-control', 'required', 'placeholder' => $isAr ? 'مثال: كاشير فرع' : 'e.g. Branch cashier']) !!}
@include('admin.roles.partials.permissions-picker', ['permission' => $permission, 'checked' => []])
{{ $isAr ? 'رجوع' : 'Back' }}
{!! Form::close() !!} @endsection