This uses bootstrap utilities where necessary. It also removes the
terms page from a padding override, which was then in turn overridden
by a padding class applied to the form!
/* Overrides for pages that use new layout conventions */
.users-new,
/* Overrides for pages that use new layout conventions */
.users-new,
-.users-create,
-.users-terms {
.content-body .content-inner {
padding: 0;
.content-body .content-inner {
padding: 0;
<div class='header-illustration new-user-terms'></div>
<% end %>
<div class='header-illustration new-user-terms'></div>
<% end %>
-<%= form_tag({ :action => "save" }, { :class => " inner22 standard-form fillL" }) do %>
+<%= form_tag({ :action => "save" }, { :class => "standard-form fillL" }) do %>
<!-- legale is <%= @legale %> -->
<p class="deemphasize"><%= t ".read and accept with tou" %></p>
<!-- legale is <%= @legale %> -->
<p class="deemphasize"><%= t ".read and accept with tou" %></p>
- <label class="standard-label">
- </label>
- <div class='form-row horizontal-list'>
+ </h4>
+ <div class='form-row horizontal-list clearfix'>
<p class="deemphasize"><%= t ".contributor_terms_explain" %></p>
<label class="standard-label">
<%= t ".legale_select" %>
<p class="deemphasize"><%= t ".contributor_terms_explain" %></p>
<label class="standard-label">
<%= t ".legale_select" %>
- <div id="contributorTerms" class="col12 legale">
+ <div id="contributorTerms" class="legale">
<%= render :partial => "terms" %>
</div>
<%= render :partial => "terms" %>
</div>
- <label class="standard-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>
<div class="form-row">
<label for="read_tou">
<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">
<%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
<%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
- <div class="buttons form-row inner20 clearfix">
+ <div class="buttons form-row py-3 clearfix">
<%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true) %>
<%= submit_tag("Cancel", :name => "decline", :id => "decline") %>
</div>
<%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true) %>
<%= submit_tag("Cancel", :name => "decline", :id => "decline") %>
</div>