Merge pull request #2776 from cpradio/add-reset-password-instructions

UX: Add password instructions to Reset Password page
This commit is contained in:
Jeff Atwood 2014-09-09 18:42:52 -07:00
commit 5dfd3fc8eb

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')%>