Whitespace fixes for site erb files
This commit is contained in:
parent
bbd44f8099
commit
38cfc35eb2
4 changed files with 14 additions and 14 deletions
|
@ -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 />
|
||||
|
|
|
@ -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 %>
|
||||
|
|
|
@ -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'>
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
<% else %>
|
||||
<p><%= t 'layouts.osm_read_only' %>
|
||||
</p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue