Whitespace fixes for site erb files

This commit is contained in:
Andy Allan 2019-03-06 10:29:20 +01:00 committed by Tom Hughes
parent bbd44f8099
commit 38cfc35eb2
4 changed files with 14 additions and 14 deletions

View 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 />
@ -25,10 +25,10 @@
<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 />

View 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 %>

View 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'>

View file

@ -4,4 +4,4 @@
<% else %>
<p><%= t 'layouts.osm_read_only' %>
</p>
<% end %>
<% end %>