Skip to content

Commit

Permalink
Try to make erblint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Apr 2, 2019
1 parent 07bbb80 commit 56453ce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/map.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>

Expand Down
30 changes: 15 additions & 15 deletions app/views/users/terms.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -35,40 +35,40 @@

<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' %>
</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? %>

<div class="buttons form-row inner20 clearfix">
<%= 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") %>
</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 %>

0 comments on commit 56453ce

Please sign in to comment.