<%= form_for @service, url: registration_path_for(nyauth_client_name) do |f| %> <%= f.object.errors.full_messages.join ',' %> <%= f.email_field :email %> <%= f.password_field :password %> <%= f.password_field :password_confirmation %> <%= f.submit 'Sign up' %> <% end %>