mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
34 lines
893 B
PHP
Executable File
34 lines
893 B
PHP
Executable File
@extends('layouts.main')
|
|
|
|
@section('title', __('permissions.add_permission'))
|
|
|
|
@section('content')
|
|
|
|
<div class='col-lg-4 col-lg-offset-4'>
|
|
|
|
<h1><i class='fa fa-key'></i> {{ __('permissions.add_permission') }}</h1>
|
|
<br>
|
|
|
|
{{ Form::open(array('url' => 'permissions')) }}
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('name', __('permissions.permission_name')) }}
|
|
{{ Form::text('name', '', array('class' => 'form-control')) }}
|
|
</div><br>
|
|
@if(!$roles->isEmpty())
|
|
<h4>{{ __('permissions.assign_permission_to_roles') }}</h4>
|
|
|
|
@foreach ($roles as $role)
|
|
{{ Form::checkbox('roles[]', $role->id ) }}
|
|
{{ Form::label($role->name, ucfirst($role->name)) }}<br>
|
|
|
|
@endforeach
|
|
@endif
|
|
<br>
|
|
{{ Form::submit(__('permissions.add'), array('class' => 'btn btn-success')) }}
|
|
|
|
{{ Form::close() }}
|
|
|
|
</div>
|
|
|
|
@endsection |