summaryrefslogtreecommitdiff
path: root/app/views/devise/passwords/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/passwords/edit.html.haml')
-rw-r--r--app/views/devise/passwords/edit.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/devise/passwords/edit.html.haml b/app/views/devise/passwords/edit.html.haml
index 56048e99c17..cfd9435a20f 100644
--- a/app/views/devise/passwords/edit.html.haml
+++ b/app/views/devise/passwords/edit.html.haml
@@ -1,19 +1,19 @@
.login-box
.login-heading
- %h3 Change your password
+ %h3 修改密码
.login-body
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
.devise-errors
= devise_error_messages!
= f.hidden_field :reset_password_token
%div
- = f.password_field :password, class: "form-control top", placeholder: "New password", required: true
+ = f.password_field :password, class: "form-control top", placeholder: "新密码", required: true
%div
- = f.password_field :password_confirmation, class: "form-control bottom", placeholder: "Confirm new password", required: true
+ = f.password_field :password_confirmation, class: "form-control bottom", placeholder: "确认新密码", required: true
.clearfix
- = f.submit "Change your password", class: "btn btn-primary"
+ = f.submit "修改密码", class: "btn btn-primary"
.clearfix.prepend-top-20
%p
- = link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
+ = link_to "没有收到确认邮件?", new_confirmation_path(resource_name)
= render 'devise/shared/sign_in_link'