Typo causing a misplaced percent sign in the HTML

I know nothing about eRuby, but there's definitely a random percent sign showing up in the HTML and this looks like the culprit to me.
This commit is contained in:
Moebius-Strip
2013-03-22 02:16:51 -03:00
parent 38a42530fb
commit f483f59786

View File

@@ -5,7 +5,7 @@
<div class="row notices">
<% if post.comments.hidden(CurrentUser.user).count > 0 || (params[:controller] == "comments" && post.comments.count > 6) %>
<span class="info" id="threshold-comments-notice-for-<%= post.id %>"%>
<span class="info" id="threshold-comments-notice-for-<%= post.id %>">
<%= link_to "Show all comments", comments_path(:post_id => post.id, :include_below_threshold => true), :remote => true %>
</span>
<% end %>