mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Use shorter helper config method
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
08ff71aae3
commit
91822d2e45
|
@ -123,8 +123,7 @@
|
|||
<div class="form-group{{ $errors->has('groups') ? ' has-error' : '' }}">
|
||||
<label class="col-md-3 control-label" for="groups"> {{ trans('general.groups') }}</label>
|
||||
<div class="col-md-6">
|
||||
@if ((Config::get('app.lock_passwords') || (!Auth::user()->isSuperUser())))
|
||||
|
||||
@if ((config('app.lock_passwords') || (!Auth::user()->isSuperUser())))
|
||||
<span class="help-block">{{ trans('admin/users/general.group_memberships_helpblock') }}</p>
|
||||
@else
|
||||
<div class="controls">
|
||||
|
|
Loading…
Reference in a new issue