refactor: 💡 Remove helper text for Username & Password (#1231)
Remove helper text for username and password fields in Credential form
as requested in a previous conversation.
✅ Closes: ICU-5459
This commit is contained in:
1 parent
c675f790ef
commit
210296f298
2 files changed
+1
-26
No files matched your search
@@ -390,8 +390,6 @@ credential:
|
||||
username_password: Username & Password
|
||||
help:
|
||||
username_password: This host requires a username and password to connect.
|
||||
username: The username to use when signing in with this credential store.
|
||||
password: The password to use when signing in with this credential store.
|
||||
scope:
|
||||
title: Scope
|
||||
title_plural: Scopes
|
||||
|
||||
@@ -71,7 +71,6 @@
|
||||
@value={{@model.username}}
|
||||
@label={{t 'form.username.label'}}
|
||||
@error={{@model.errors.username}}
|
||||
@helperText={{t 'resources.credential.help.username'}}
|
||||
disabled={{@model.isSaving}}
|
||||
readonly={{false}}
|
||||
as |field|
|
||||
@@ -84,36 +83,14 @@
|
||||
</field.errors>
|
||||
{{/if}}
|
||||
</form.input>
|
||||
{{#if @model.isNew}}
|
||||
<form.input
|
||||
@name='password'
|
||||
@type='password'
|
||||
@value={{@model.password}}
|
||||
@label={{t 'form.password.label'}}
|
||||
@error={{@model.errors.password}}
|
||||
@helperText={{t 'resources.credential.help.password'}}
|
||||
disabled={{@model.isSaving}}
|
||||
readonly={{false}}
|
||||
as |field|
|
||||
>
|
||||
{{#if @model.errors.password}}
|
||||
<field.errors as |errors|>
|
||||
{{#each @model.errors.password as |error|}}
|
||||
<errors.message>{{error.message}}</errors.message>
|
||||
{{/each}}
|
||||
</field.errors>
|
||||
{{/if}}
|
||||
</form.input>
|
||||
{{/if}}
|
||||
|
||||
{{#if form.isEditable}}
|
||||
{{#if (or @model.isNew form.isEditable)}}
|
||||
<form.input
|
||||
@name='password'
|
||||
@type='password'
|
||||
@value={{@model.password}}
|
||||
@label={{t 'form.password.label'}}
|
||||
@error={{@model.errors.password}}
|
||||
@helperText={{t 'resources.credential.help.password'}}
|
||||
disabled={{@model.isSaving}}
|
||||
readonly={{false}}
|
||||
as |field|
|
||||
|
||||
Reference in new issue
Block a user