| Current Path : /var/www/html/bookstack/storage/framework/views/ |
| Current File : /var/www/html/bookstack/storage/framework/views/56699afd95da906e64dc3894e6bd6fdae1cd27a7.php |
<?php if($authMethod === 'system' && $user->system_name == 'public'): ?>
<p class="mb-none text-warn"><?php echo e(trans('settings.users_system_public')); ?></p>
<?php endif; ?>
<div class="pt-m">
<label class="setting-list-label"><?php echo e(trans('settings.users_details')); ?></label>
<?php if($authMethod === 'standard'): ?>
<p class="small"><?php echo e(trans('settings.users_details_desc')); ?></p>
<?php endif; ?>
<?php if($authMethod === 'ldap' || $authMethod === 'system'): ?>
<p class="small"><?php echo e(trans('settings.users_details_desc_no_email')); ?></p>
<?php endif; ?>
<div class="grid half mt-m gap-xl">
<div>
<label for="name"><?php echo e(trans('auth.name')); ?></label>
<?php echo $__env->make('form.text', ['name' => 'name'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div>
<?php if($authMethod !== 'ldap' || userCan('users-manage')): ?>
<label for="email"><?php echo e(trans('auth.email')); ?></label>
<?php echo $__env->make('form.text', ['name' => 'email', 'disabled' => !userCan('users-manage')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
</div>
</div>
</div>
<?php if(in_array($authMethod, ['ldap', 'saml2', 'oidc']) && userCan('users-manage')): ?>
<div class="grid half gap-xl v-center">
<div>
<label class="setting-list-label"><?php echo e(trans('settings.users_external_auth_id')); ?></label>
<p class="small"><?php echo e(trans('settings.users_external_auth_id_desc')); ?></p>
</div>
<div>
<?php echo $__env->make('form.text', ['name' => 'external_auth_id'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
<?php endif; ?>
<?php if(userCan('users-manage')): ?>
<div>
<label for="role" class="setting-list-label"><?php echo e(trans('settings.users_role')); ?></label>
<p class="small"><?php echo e(trans('settings.users_role_desc')); ?></p>
<div class="mt-m">
<?php echo $__env->make('form.role-checkboxes', ['name' => 'roles', 'roles' => $roles], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
<?php endif; ?>
<?php if($authMethod === 'standard'): ?>
<div new-user-password>
<label class="setting-list-label"><?php echo e(trans('settings.users_password')); ?></label>
<?php if(!isset($model)): ?>
<p class="small">
<?php echo e(trans('settings.users_send_invite_text')); ?>
</p>
<?php echo $__env->make('form.toggle-switch', [
'name' => 'send_invite',
'value' => old('send_invite', 'true') === 'true',
'label' => trans('settings.users_send_invite_option')
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<div id="password-input-container" <?php if(!isset($model)): ?> style="display: none;" <?php endif; ?>>
<p class="small"><?php echo e(trans('settings.users_password_desc')); ?></p>
<?php if(isset($model)): ?>
<p class="small">
<?php echo e(trans('settings.users_password_warning')); ?>
</p>
<?php endif; ?>
<div class="grid half mt-m gap-xl">
<div>
<label for="password"><?php echo e(trans('auth.password')); ?></label>
<?php echo $__env->make('form.password', ['name' => 'password', 'autocomplete' => 'new-password'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div>
<label for="password-confirm"><?php echo e(trans('auth.password_confirm')); ?></label>
<?php echo $__env->make('form.password', ['name' => 'password-confirm'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php /**PATH /var/www/html/bookstack/resources/views/users/parts/form.blade.php ENDPATH**/ ?>