Skip to content

Commit d4a9e4f

Browse files
committed
improve user preferences for mastodon input
To avoid the help starts at end of the input, move it to a paragraph. The `<kbd>` HTML tag should be used for keyboard inputs, so I've replaced it with `<code>` for the url profile link.
1 parent 80fb5c8 commit d4a9e4f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/views/devise/registrations/_preferences.html.haml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
%p
1515
= u.label :mastodon_url, 'Adresse du compte Mastodon'
1616
= u.url_field :mastodon_url, placeholder: "https://mastodon.example/@me", maxlength: 100
17-
%span.help
18-
Après avoir enregistré l’adresse de votre compte Mastodon, vous pourrez utiliser le lien <kbd>#{user_url(current_user)}</kbd> pour
19-
<a href="https://docs.joinmastodon.org/user/profile/#verification">prouver que le compte Mastodon et le compte LinuxFr.org appartiennent à la même personne.</a>
17+
%p.help
18+
Après avoir enregistré l’adresse de votre compte Mastodon, vous pourrez utiliser le lien <code>#{user_url(current_user)}</code> pour
19+
<a href="https://docs.joinmastodon.org/user/profile/#verification">prouver que le compte Mastodon et le compte LinuxFr.org appartiennent à la même personne.</a>
2020
%p
2121
= u.label :signature, "Signature"
2222
= u.text_field :signature, maxlength: 250, size: 100

0 commit comments

Comments
 (0)