X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/925d12cc8176414d0f9531832862a5825783d132..f8a606869e50752b4112b1dbc88d80251e261b44:/app/views/users/new.html.erb diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 27e98b45b..0d3160a8c 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -2,51 +2,68 @@ <%= javascript_include_tag "user" %> <% end %> -<% content_for :heading_class, "pb-0" %> +<% content_for :heading_class, "p-0 mw-100" %> + <% content_for :heading do %> -
<%= t ".about.paragraph_1" %>
+<%= t ".about.header" %> <%= t ".about.paragraph_1" %>
<%= t ".about.paragraph_2" %>
<%= link_to t(".use external auth"), "#", :id => "auth_enable" %>
+ <%= bootstrap_form_for current_user, :url => { :action => "create" } do |f| %> + <%= hidden_field_tag("referer", h(@referer)) unless @referer.nil? %> + + <%= f.email_field :email, :help => t(".email_help_html", + :privacy_policy_link => link_to(t(".privacy_policy"), + t(".privacy_policy_url"), + :title => t(".privacy_policy_title"))), + :tabindex => 1 %> + + <%= f.text_field :display_name, :help => t(".display name description"), :tabindex => 2 %> + + - <%= f.primary t(".continue"), :tabindex => 8 %> - <% end %> -<%= t(".by_signing_up_html", + :tou_link => link_to(t("layouts.tou"), + "https://wiki.osmfoundation.org/wiki/Terms_of_Use", + :target => :new), + :contributor_terms_link => link_to(t(".contributor_terms"), + t(".contributor_terms_url"), + :target => :new)) %>
+ +<%= link_to t(".use external auth"), "#", :id => "auth_enable" %>
+