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

@@ -18,9 +18,9 @@
<%= render :partial => "comments/partials/show/comment", :collection => comments %>
<% end %>
</div>
<div class="clearfix"></div>
<div class="new-comment">
<p><%= link_to "Post comment", new_comment_path, :class => "expand-comment-response" %></p>
<%= render "comments/partials/new/form", :post => post %>

View File

@@ -6,4 +6,4 @@
<%= dtext_field "comment", "body", :input_id => "comment_response_for_#{post.id}", :preview_id => "dtext-preview-for-#{post.id}" %>
<%= dtext_preview_button "comment", "body", :input_id => "comment_response_for_#{post.id}", :preview_id => "dtext-preview-for-#{post.id}" %>
<%= submit_tag "Post" %> <%= check_box "comment", "do_not_bump_post", :id => "comment_do_not_bump_post_#{post.id}" %> <label for="comment_do_not_bump_post_<%= post.id %>">No bump</label>
<% end %>
<% end %>

View File

@@ -8,7 +8,7 @@
<div class="content">
<div class="body prose">
<%= format_text(comment.body) %>
<% if comment.updater_id.present? && (comment.updater_id != comment.creator_id || comment.created_at != comment.updated_at) %>
<p class="info">Updated by <%= link_to comment.updater_name, user_path(comment.updater_id) %> <%= time_ago_in_words_tagged(comment.updated_at) %></p>
<% end %>