diff --git a/app/views/users/registrations/edit.html.erb b/app/views/users/registrations/edit.html.erb index b17b8f2e1..1c6c7f5f2 100644 --- a/app/views/users/registrations/edit.html.erb +++ b/app/views/users/registrations/edit.html.erb @@ -3,14 +3,14 @@  <%= link_to t("devise_views.users.registrations.edit.back_link"), :back, class: "left back" %> -

<%= t("devise_views.users.registrations.edit.edit") %> <%= resource_name.to_s.humanize %>

+

<%= t("devise_views.users.registrations.edit.edit") %>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> <%= devise_error_messages! %>
<%= f.label :email, t("devise_views.users.registrations.edit.email_label") %> - <%= f.email_field :email, autofocus: true, placeholder: t("devise_views.users.registrations.edit.email_label") %> + <%= f.email_field :email, label: false, autofocus: true, placeholder: t("devise_views.users.registrations.edit.email_label") %>
@@ -27,13 +27,13 @@
<%= f.label :password_confirmation, t("devise_views.users.registrations.edit.password_confirmation_label") %> - <%= f.password_field :password_confirmation, autocomplete: "off", placeholder: t("devise_views.users.registrations.edit.password_confirmation_label") %> + <%= f.password_field :password_confirmation, label: false, autocomplete: "off", placeholder: t("devise_views.users.registrations.edit.password_confirmation_label") %>
<%= f.label :current_password, t("devise_views.users.registrations.edit.current_password_label") %> <%= t("devise_views.users.registrations.edit.need_current") %> - <%= f.password_field :current_password, autocomplete: "off", placeholder: t("devise_views.users.registrations.edit.current_password_label") %> + <%= f.password_field :current_password, label: false, autocomplete: "off", placeholder: t("devise_views.users.registrations.edit.current_password_label") %>