rearrange layout, fix tag blacklist js

This commit is contained in:
albert
2013-02-23 20:45:33 -05:00
parent 55a7febb5b
commit 64efef4ecf
4 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
<ul>
<li>ID: <%= post.id %></li>
<li>Uploader: <%= link_to_unless(post.uploader.nil?, post.uploader_name, user_path(post.uploader)) %></li>
<li>Date: <time datetime="<%= post.created_at.iso8601 %>" title="<%= post.created_at.to_date %>"><%= raw time_ago_in_words_tagged(post.created_at).gsub(/about/, "") %></time></li>
<% if post.approver %>
@@ -31,5 +32,4 @@
Active
<% end %>
</li>
<li>ID: <%= post.id %></li>
</ul>