diff options
Diffstat (limited to 'src/views/AccessControl/Ldap/Ldap.vue')
-rw-r--r-- | src/views/AccessControl/Ldap/Ldap.vue | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/views/AccessControl/Ldap/Ldap.vue b/src/views/AccessControl/Ldap/Ldap.vue index 618434b6..1bb5adba 100644 --- a/src/views/AccessControl/Ldap/Ldap.vue +++ b/src/views/AccessControl/Ldap/Ldap.vue @@ -173,10 +173,13 @@ </b-form-group> </b-col> <b-col sm="6" xl="4"> - <b-form-group - :label="$t('pageLdap.form.userIdAttribute')" - label-for="user-id-attribute" - > + <b-form-group label-for="user-id-attribute"> + <template v-slot:label> + {{ $t('pageLdap.form.userIdAttribute') }} - + <span class="form-text d-inline"> + {{ $t('global.form.optional') }} + </span> + </template> <b-form-input id="user-id-attribute" v-model="form.userIdAttribute" @@ -186,10 +189,13 @@ </b-form-group> </b-col> <b-col sm="6" xl="4"> - <b-form-group - :label="$t('pageLdap.form.groupIdAttribute')" - label-for="group-id-attribute" - > + <b-form-group label-for="group-id-attribute"> + <template v-slot:label> + {{ $t('pageLdap.form.groupIdAttribute') }} - + <span class="form-text d-inline"> + {{ $t('global.form.optional') }} + </span> + </template> <b-form-input id="group-id-attribute" v-model="form.groupIdAttribute" |