From d1499895e30adf68ad311ddb9b47d770c362b09c Mon Sep 17 00:00:00 2001 From: Simon Poole Date: Tue, 2 Apr 2019 23:58:33 +0200 Subject: [PATCH] Try to make erblint happy --- app/views/layouts/map.html.erb | 4 ++-- app/views/users/terms.html.erb | 32 ++++++++++++++++---------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 2939df3cf..4d37cdfb8 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -48,8 +48,8 @@ :bytemark => link_to(t("layouts.partners_bytemark"), "https://www.bytemark.co.uk"), :partners => link_to(t("layouts.partners_partners"), "https://hardware.openstreetmap.org/thanks/") %>

- <%= t('layouts.learn_more') %> - <%= t('layouts.start_mapping') %> + <%= t("layouts.learn_more") %> + <%= t("layouts.start_mapping") %> <% end %> diff --git a/app/views/users/terms.html.erb b/app/views/users/terms.html.erb index 4e45671e1..d4a9fa0bd 100644 --- a/app/views/users/terms.html.erb +++ b/app/views/users/terms.html.erb @@ -9,12 +9,12 @@ <%= form_tag({ :action => "save" }, { :class => " inner22 standard-form fillL" }) do %> -

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

+

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

-

<%= t '.contributor_terms_explain' %>

+

<%= t ".contributor_terms_explain" %>

@@ -35,40 +35,40 @@

- <%= 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" %>

-

<%= t '.tou_explain_html', :tou_link => link_to(t('layouts.tou'), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %>

+

<%= t ".tou_explain_html", :tou_link => link_to(t("layouts.tou"), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %>

<%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
- <%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true) %> + <%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true) %> <%= submit_tag("Cancel", :name => "decline", :id => "decline") %>
- (<%= 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) %>)
<% end %> -- 2.39.5