2018-07-12 23:46:59 +01:00
|
|
|
<div class="form-check">
|
|
|
|
<input type="checkbox" class="form-check-input" id="permission|{{ $key_id }}|{{ $permission->id }}" name="permissions[{{ $object_id }}][]" value="{{ $permission->id }}"{{ call_user_func($callback, $callback_object, $permission) ? ' checked="checked"' : '' }}>
|
|
|
|
<label class="form-check-label" for="permission|{{ $key_id }}|{{ $permission->id }}">
|
|
|
|
{{ trans(sprintf('permissions.%s.%s', $permission->section, $permission->description)) }}
|
2017-04-15 08:36:17 +01:00
|
|
|
</label>
|
|
|
|
</div>
|