Shorter syntax for demo disabled

This commit is contained in:
snipe 2018-04-25 19:23:03 -07:00
parent 5fb4eacf5b
commit e5121b33e6

View file

@ -73,11 +73,7 @@
<div class="form-group"> <div class="form-group">
<label for="first_name" class="col-sm-3 control-label">{{ trans('admin/users/general.usercsv') }}</label> <label for="first_name" class="col-sm-3 control-label">{{ trans('admin/users/general.usercsv') }}</label>
<div class="col-sm-9"> <div class="col-sm-9">
@if (config('app.lock_passwords')===true) <input type="file" name="user_import_csv" id="user_import_csv"{{ (config('app.lock_passwords')===true) ? ' disabled' : '' }}>
<input type="file" name="user_import_csv" id="user_import_csv" disabled>
@else
<input type="file" name="user_import_csv" id="user_import_csv">
@endif
</div> </div>
</div> </div>