2017-09-01 14:52:06 +01:00
|
|
|
<div>
|
|
|
|
<label class="custom-control custom-checkbox" for="permission|{{ $key_id }}|{{ $permission->id }}">
|
|
|
|
<input type="checkbox" class="custom-control-input" id="permission|{{ $key_id }}|{{ $permission->id }}" name="permissions[{{ $object_id }}][]" value="{{ $permission->id }}"{{ call_user_func($callback, $callback_object, $permission) ? ' checked="checked"' : '' }}>
|
|
|
|
<span class="custom-control-indicator"></span>
|
|
|
|
<span class="custom-control-description">{{ trans(sprintf('permissions.%s.%s', $permission->section, $permission->description)) }}</span>
|
2017-04-15 08:36:17 +01:00
|
|
|
</label>
|
|
|
|
</div>
|