lib/generators/authentication/templates/views/passwords/edit.html.erb.tt in authentication-zero-0.0.9 vs lib/generators/authentication/templates/views/passwords/edit.html.erb.tt in authentication-zero-0.0.10
- old
+ new
@@ -19,15 +19,16 @@
<%%= label_tag :current_password, nil, style: "display: block" %>
<%%= password_field_tag :current_password, nil, autofocus: true, autocomplete: "current-password" %>
</div>
<div>
- <%%= form.label :password, "New password (8 characters minimum)", style: "display: block" %>
+ <%%= form.label :password, "New password", style: "display: block" %>
<%%= form.password_field :password, autocomplete: "new-password" %>
+ <div>8 characters minimum.</div>
</div>
<div>
- <%%= form.label :password_confirmation, style: "display: block" %>
+ <%%= form.label :password_confirmation, "Confirm new password", style: "display: block" %>
<%%= form.password_field :password_confirmation, autocomplete: "new-password" %>
</div>
<div>
<%%= form.submit "Save changes" %>