]> git.openstreetmap.org Git - rails.git/commitdiff
Whitespace fixes for site erb files
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Mar 2019 09:29:20 +0000 (10:29 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 26 Mar 2019 20:23:35 +0000 (20:23 +0000)
app/views/site/copyright.html.erb
app/views/site/edit.html.erb
app/views/site/export.html.erb
app/views/site/offline.html.erb

index de4ff3cab1cc6304cf02acca9401ff448adbad5c..2dcccab18fc78fa1a120e5e47ca3e61a26eb569a 100644 (file)
@@ -7,13 +7,13 @@
         <h1><%= t '.native.title' %></h1>
         <p>
           <%= raw t '.native.text',
-                      :native_link => link_to(t('.native.native_link'),
-                                                  :controller => 'site',
-                                                  :action => 'copyright',
-                                                  :copyright_locale => nil),
-                      :mapping_link => link_to(t('.native.mapping_link'),
-                                                  :controller => 'site',
-                                                  :action => 'index') %>
+                    :native_link => link_to(t('.native.native_link'),
+                                            :controller => 'site',
+                                            :action => 'copyright',
+                                            :copyright_locale => nil),
+                    :mapping_link => link_to(t('.native.mapping_link'),
+                                             :controller => 'site',
+                                             :action => 'index') %>
         </p>
       <% end %>
       <hr />
         <h1><%= t '.foreign.title' %></h1>
         <p>
           <%= raw t '.foreign.text',
-                      :english_original_link => link_to(t('.foreign.english_link'),
-                                                            :controller => 'site',
-                                                            :action => 'copyright',
-                                                            :copyright_locale => 'en') %>
+                    :english_original_link => link_to(t('.foreign.english_link'),
+                                                      :controller => 'site',
+                                                      :action => 'copyright',
+                                                      :copyright_locale => 'en') %>
         </p>
       <% end %>
       <hr />
index d89af0596a5ebc566fa92c81b90520a2f6c64691..5451e1b5af122c5b0a44089c80c9d17054d25572 100644 (file)
@@ -5,7 +5,7 @@
     <p><%= t 'layouts.osm_read_only' %></p>
   <% elsif !current_user.data_public? %>
     <p><%= t '.not_public' %></p>
-    <p><%= raw t '.not_public_description', :user_page => (link_to t('.user_page_link'), {:controller => 'user', :action => 'account', :display_name => current_user.display_name, :anchor => 'public'}) %></p>
+    <p><%= raw t '.not_public_description', :user_page => (link_to t('.user_page_link'), { :controller => 'user', :action => 'account', :display_name => current_user.display_name, :anchor => 'public' }) %></p>
     <p><%= raw t 'site.edit.anon_edits', :link => link_to(t('.anon_edits_link_text'), t('.anon_edits_link')) %></p>
   <% else %>
     <%= render :partial => preferred_editor %>
index f11ad8d790a7b85a95f767b8c9de610f3625c5e3..84e3b1736521beeca2fe3d7452d869ab83a3b714 100644 (file)
@@ -5,7 +5,7 @@
   <%= t '.title' %>
 </h2>
 
-<%= form_tag({:controller => "export", :action => "finish"}, :class => "export_form") do %>
+<%= form_tag({ :controller => "export", :action => "finish" }, :class => "export_form") do %>
   <%= hidden_field_tag 'format', 'osm' %>
 
   <div class='export_area_inputs'>
index d306c2af91fb5d79b3128e6ede3d402e34e83325..bfe0bcb9fd3d00a4780bd93ad3f4b855debd8466 100644 (file)
@@ -4,4 +4,4 @@
 <% else %>
 <p><%= t 'layouts.osm_read_only' %>
 </p>
-<% end  %>
+<% end %>