X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6ded8b55c87f32579b9f42ecb8a58567f4dfe30d..2fb777c5be4c4b5b94b8bd5bee5f7670e3425e9d:/app/views/user/new.html.erb?ds=sidebyside diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index ab243cbfd..7324ddd29 100644 --- a/app/views/user/new.html.erb +++ b/app/views/user/new.html.erb @@ -6,10 +6,11 @@ <%= error_messages_for 'user' %> -<%= form_for :user, :url => { :action => 'terms' } do %> +<%= form_for :user, :url => { :action => 'create' } do %> <%= hidden_field_tag('referer', h(@referer)) unless @referer.nil? %>
+
<%= email_field(:user, :email_confirmation, { :tabindex => 2 }) %>
-

<%= raw(t 'user.new.not displayed publicly') %>

+ <%= raw(t 'user.new.not displayed publicly') %>
@@ -33,16 +34,19 @@ <%= text_field(:user, :display_name, { :tabindex => 3 }) %>
-

<%= t 'user.new.display name description' %> + <%= t 'user.new.display name description' %> -

+
<%= url_field(:user, :openid_url, { :id => "openid_url", :tabindex => 4, :class => "openid_url" }) %>
+ + <%= t 'user.new.openid no password' %> +
@@ -58,13 +62,12 @@ <%= password_field(:user, :pass_crypt_confirmation, { :tabindex => 6 }) %> - - <%= link_to raw(t("user.new.use openid", :logo => openid_logo)), "#", :id => "openid_enable" %> - - - <%= t 'user.new.openid no password' %> -
+ +
+ <%= link_to raw(t("user.new.use openid", :logo => openid_logo)), "#", :id => "openid_enable" %> +
+ <%= submit_tag t('user.new.continue'), :tabindex => 6 %> <% end %> @@ -74,7 +77,6 @@ function enableOpenID() { $("#openid_prompt").hide(); - $("#openid_spacer").show(); $("#openid_field").show(); $("#openid_note").show(); @@ -85,7 +87,6 @@ function disableOpenID() { $("#openid_prompt").show(); - $("#openid_spacer").hide(); $("#openid_field").hide(); $("#openid_note").hide();