Try to make erblint happy
This commit is contained in:
parent
1be8d599e8
commit
d1499895e3
2 changed files with 18 additions and 18 deletions
|
@ -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 %>
|
||||
|
||||
|
|
|
@ -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,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' %>
|
||||
<%= 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 %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue