Try to make erblint happy

This commit is contained in:
Simon Poole 2019-04-02 23:58:33 +02:00
parent 1be8d599e8
commit d1499895e3
2 changed files with 18 additions and 18 deletions

View file

@ -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/") %>
</p>
<a class="button learn-more" href="<%= about_path %>"><%= t('layouts.learn_more') %></a>
<a class="button sign-up" href="<%= user_new_path %>"><%= t('layouts.start_mapping') %></a>
<a class="button learn-more" href="<%= about_path %>"><%= t("layouts.learn_more") %></a>
<a class="button sign-up" href="<%= user_new_path %>"><%= t("layouts.start_mapping") %></a>
</div>
<% end %>

View file

@ -9,12 +9,12 @@
<%= form_tag({ :action => "save" }, { :class => " inner22 standard-form fillL" }) do %>
<!-- legale is <%= @legale %> -->
<p class="deemphasize"><%= t '.read and accept with tou' %></p>
<p class="deemphasize"><%= t ".read and accept with tou" %></p>
<label class="standard-label">
<%= t '.heading_ct' %>
<%= t ".heading_ct" %>
</label>
<div class='form-row horizontal-list'>
<p class="deemphasize"><%= t '.contributor_terms_explain' %></p>
<p class="deemphasize"><%= t ".contributor_terms_explain" %></p>
<label class="standard-label">
<%= t ".legale_select" %>
</label>
@ -35,26 +35,26 @@
<div>
<p id="contributorGuidance" class="deemphasize">
<%= 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" %>
</p>
</div>
<div class="form-row">
<label for="read_ct">
<%= check_box_tag 'read_ct' %>
<%= t '.read_ct' %>
<%= check_box_tag "read_ct" %>
<%= t ".read_ct" %>
</label>
</div>
<label class="standard-label">
<%= t 'layouts.tou' %>
<%= t "layouts.tou" %>
</label>
<p class="deemphasize"><%= t '.tou_explain_html', :tou_link => link_to(t('layouts.tou'), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %></p>
<p class="deemphasize"><%= t ".tou_explain_html", :tou_link => link_to(t("layouts.tou"), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %></p>
<div class="form-row">
<label for="read_tou">
<%= check_box_tag 'read_tou' %>
<%= t '.read_tou' %>
<%= check_box_tag "read_tou" %>
<%= t ".read_tou" %>
</label>
<%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
@ -65,10 +65,10 @@
</div>
<label for="user_consider_pd">
<%= check_box('user', 'consider_pd') %>
<%= t '.consider_pd' %>
<%= check_box("user", "consider_pd") %>
<%= t ".consider_pd" %>
</label>
<span class="minorNote">(<%= link_to(t('.consider_pd_why'), t('.consider_pd_why_url'), :target => :new)%>)</span>
<span class="minorNote">(<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>)</span>
</div>
<% end %>