Kill trailing whitespace in erb files

This commit is contained in:
小太
2013-03-19 23:11:58 +11:00
parent aef86bda04
commit 1a03a86592
119 changed files with 271 additions and 271 deletions

View File

@@ -28,7 +28,7 @@
<% end %>
</tbody>
</table>
<%= numbered_paginator(@dmails) %>
</div>
</div>

View File

@@ -3,12 +3,12 @@
<h1>Search Messages</h1>
<%= form_tag(dmails_path, :method => :get, :class => "simple_form") do %>
<%= hidden_field_tag :folder, params[:folder] %>
<%= search_field "message_matches", :label => "Message" %>
<%= search_field "to_name", :label => "To" %>
<%= search_field "from_name", :label => "From" %>
<%= submit_tag "Search" %>
<% end %>
<% end %>
</div>
</div>

View File

@@ -3,13 +3,13 @@
<div class="dmail">
<h1>Show Message</h1>
<h2><%= @dmail.title %></h2>
<ul style="margin-bottom: 1em;">
<li><strong>Sender</strong>: <%= link_to @dmail.from_name, user_path(@dmail.from_id) %></li>
<li><strong>Recipient</strong>: <%= link_to @dmail.to_name, user_path(@dmail.to_id) %></li>
<li><strong>Date</strong>: <%= compact_time(@dmail.created_at) %></li>
</ul>
<h3>Body</h3>
<div class="prose">
<%= format_text(@dmail.body) %>
@@ -18,7 +18,7 @@
<p>
<%= link_to "Respond", new_dmail_path(:respond_to_id => @dmail) %>
| <%= link_to "Forward", new_dmail_path(:respond_to_id => @dmail, :forward => true) %>
</p>
</p>
</div>
</div>
</div>