X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3ec67ea2d395f9ae78f806f8e583e10d691861de..6afa132b84659f136d10e540196de3e428e073f1:/app/views/users/terms.html.erb diff --git a/app/views/users/terms.html.erb b/app/views/users/terms.html.erb index a836c8590..a93ecb0a1 100644 --- a/app/views/users/terms.html.erb +++ b/app/views/users/terms.html.erb @@ -3,22 +3,22 @@ <% end %> <% content_for :heading do %> -

<%= t '.heading' %>

+

<%= t ".heading" %>

<% end %> -<%= form_tag({:action => "save"}, { :class => " inner22 standard-form fillL" }) do %> +<%= form_tag({ :action => "save" }, { :class => " inner22 standard-form fillL" }) do %>
- <% [['france', 'FR'], ['italy', 'IT'], ['rest_of_world', 'GB']].each do |name, legale| %> + <% [%w[france FR], %w[italy IT], %w[rest_of_world GB]].each do |name, legale| %>
<% end %> @@ -30,24 +30,24 @@
- (<%= link_to(t('.consider_pd_why'), t('.consider_pd_why_url'), :target => :new)%>) + (<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>) - <%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %> + <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
-

<%= t '.read and accept' %>

- <%= submit_tag(t('.agree'), :name => "agree", :id => "agree") %> - <%= submit_tag(t('.decline'), :name => "decline", :id => "decline") %> +

<%= t ".read and accept" %>

+ <%= submit_tag(t(".agree"), :name => "agree", :id => "agree") %> + <%= submit_tag(t(".decline"), :name => "decline", :id => "decline") %>

- <%= raw t '.guidance', - :summary => 'https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary', - :translations => 'https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %> + <%= raw t ".guidance", + :summary => "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary", + :translations => "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations" %>