Skip to content

Commit

Permalink
feat(mon-pix): add example for email field
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetetot committed Sep 26, 2024
1 parent 449c11f commit 740cf49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions mon-pix/app/components/authentication/signin-form.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export default class SigninForm extends Component {
name="login"
{{on "input" this.updateLogin}}
@validationStatus="default"
placeholder={{t "pages.sign-in.fields.login.placeholder"}}
autocomplete="email"
required
>
Expand Down
3 changes: 2 additions & 1 deletion mon-pix/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,8 @@
"fields": {
"legend": "Information required for sign in.",
"login": {
"label": "Email address or username"
"label": "Email address or username",
"placeholder": "ex: [email protected]"
},
"password": {
"label": "Password"
Expand Down
3 changes: 2 additions & 1 deletion mon-pix/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,8 @@
"fields": {
"legend": "Informations nécessaires pour se connecter.",
"login": {
"label": "Adresse e-mail ou identifiant"
"label": "Adresse e-mail ou identifiant",
"placeholder": "ex: [email protected]"
},
"password": {
"label": "Mot de passe"
Expand Down

0 comments on commit 740cf49

Please sign in to comment.