upgraded to jquery 1.5.1, fixed comment voting ajax
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="comments">
|
||||
<div class="index">
|
||||
<div id="c-comments">
|
||||
<div id="a-index">
|
||||
<% @posts.each do |post| %>
|
||||
<div class="post">
|
||||
<div class="preview">
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
<article data-comment-id="<%= comment.id %>">
|
||||
<div class="author">
|
||||
<h1><%= link_to comment.creator_name, user_path(comment.creator_id) %></h1>
|
||||
<time datetime="<%= comment.created_at %>">
|
||||
<%= time_ago_in_words(comment.created_at) %> ago
|
||||
</time>
|
||||
<p>
|
||||
<time datetime="<%= comment.created_at %>">
|
||||
<%= time_ago_in_words(comment.created_at) %> ago
|
||||
</time>
|
||||
</p>
|
||||
<p><span class="comment-score" id="score-for-comment-<%= comment.id %>"><%= pluralize comment.score, "point" %></span></p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user