UX: Add password instructions to Reset Password page

Added the password instructions to the reset password page.
https://meta.discourse.org/t/reset-password-doesnt-give-password-requirements/19799
This commit is contained in:
cpradio 2014-09-09 20:37:39 -04:00
parent 8c02f47f23
commit 3bd0c94d96
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@
<%=form_tag({}, method: :put) do %>
<p>
<input id="user_password" name="password" size="30" type="password">
<label><%= t('js.user.password.instructions', count: SiteSetting.min_password_length) %></label>
</p>
<p>
<%=submit_tag( @user.has_password? ? t('password_reset.update') : t('password_reset.save'), class: 'btn')%>