X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/25f27a753f6a79bc1ae494e42cf03b9880d0bdcd..8ad1ce97983a5d4fb86ccb8ee4cd640a76f95255:/app/views/users/terms.html.erb?ds=inline 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" %>