%= form_for @user, url: {action: "changepasswd"} do |f| %> <%= render 'shared/error_messages', object: f.object %>