summaryrefslogtreecommitdiff
path: root/src/views/AccessControl/Ldap/Ldap.vue
diff options
context:
space:
mode:
authorDixsie Wolmers <dixsie@ibm.com>2020-09-08 22:53:25 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-09-24 17:01:08 +0300
commit46f17ef6c368d0412352c3026aa1e4ce9fae2e87 (patch)
tree43f7664d6567cbd00ae96075dc4ff18dbb7a1449 /src/views/AccessControl/Ldap/Ldap.vue
parent9901096a45c9bda51438dcc91d5feb8a590df0c3 (diff)
downloadwebui-vue-46f17ef6c368d0412352c3026aa1e4ce9fae2e87.tar.xz
Add optional fields to LDAP and CSR form
- Optional fields are indicated on the form field label - Asterisks indicating required were removed Verified with design. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I998485f8928c2c976aa49790c19c9ac247d5ed24
Diffstat (limited to 'src/views/AccessControl/Ldap/Ldap.vue')
-rw-r--r--src/views/AccessControl/Ldap/Ldap.vue22
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"