moved out search pages

This commit is contained in:
albert
2011-03-15 19:19:49 -04:00
parent 7c45243d16
commit 42627be1d3
19 changed files with 77 additions and 93 deletions

View File

@@ -1,7 +1,7 @@
<div class="header">
<div class="row">
<span class="info">
<time>Date</time>
<strong>Date</strong>
<%= compact_time(post.created_at) %>
</span>
<span class="info">
@@ -14,7 +14,7 @@
</span>
<span class="info">
<strong>Score</strong>
<span id="score-for-post-<%= post.id %>"%>
<span id="score-for-post-<%= post.id %>">
<span><%= post.score %></span>
<% if CurrentUser.user.is_privileged? %>
(vote <%= link_to("up", post_votes_path(:score => "up", :post_id => post.id), :remote => true, :method => :post) %>/<%= link_to("down", post_votes_path(:score => "down", :post_id => post.id), :remote => true, :method => :post) %>)