<%= form_for @client, url: password_path_for(nyauth_client_name) do |f| %> <%= f.object.errors.full_messages %> <%= f.password_field :password %> <%= f.password_field :password_confirmation %> <%= f.submit 'Update' %> <% end %>