Kill trailing whitespace in erb files
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
<section id="content">
|
||||
<h1>Wiki Pages</h1>
|
||||
|
||||
|
||||
<%= form_tag(diff_wiki_page_versions_path, :method => :get) do %>
|
||||
<table width="100%" class="striped">
|
||||
<thead>
|
||||
@@ -14,7 +14,7 @@
|
||||
<th width="60%">Title</th>
|
||||
<th width="10%">IP Address</th>
|
||||
<th width="26%">Last edited</th>
|
||||
</tr>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @wiki_page_versions.each do |wiki_page_version| %>
|
||||
@@ -43,21 +43,21 @@
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<% if params[:search] && params[:search][:wiki_page_id] %>
|
||||
<%= submit_tag "Diff" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
|
||||
<%= numbered_paginator(@wiki_page_versions) %>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "wiki_pages/secondary_links" %>
|
||||
<%= render "wiki_pages/secondary_links" %>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Wiki Page Versions - <%= Danbooru.config.app_name %>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div id="c-wiki-pages">
|
||||
<div id="a-show">
|
||||
<%= render "wiki_pages/sidebar" %>
|
||||
|
||||
|
||||
<section id="content">
|
||||
<h1 id="wiki-page-title"><%= @wiki_page_version.pretty_title %> <span class="version">(<%= time_ago_in_words_tagged(@wiki_page_version.updated_at) %>)</span></h1>
|
||||
|
||||
|
||||
<div id="wiki-page-body" class="dtext prose">
|
||||
<%= format_text(@wiki_page_version.body) %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user