Sha256: 1b5e2107b011c0dfca6f506c1f0ddbe651caae3974c089192f556db42c564702

Contents?: true

Size: 739 Bytes

Versions: 4

Compression:

Stored size: 739 Bytes

Contents

<tr id="comment-<%= comment.id %>" class="<%= cycle('', 'alt') %>">
  <td class='created_at'><%= comment.created_at.strftime('%d %b, %Y') %></td>
  <td class='author'><%= link_to(comment.author, enki.admin_comment_path(comment)) %></td>
  <td><%= truncate(comment.body, :length => 40) %></td>
  <td><%= link_to(comment.post_title, enki.admin_post_path(comment.post))%></td>
  <td>
    <%= link_to(image_tag('silk/pencil.png', :alt => 'edit'), enki.admin_comment_path(comment)) %>
    <%= form_for(comment, :as => :comment, :url => enki.admin_comment_path(comment), :html => {:class => 'delete-item', :method => :delete}) do |form| -%>
      <%= image_submit_tag("silk/delete.png", :alt => "Delete Comment") %>
    <% end -%>
  </td>
</tr>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 app/views/enki/admin/comments/_comment.html.erb
enki-engine-0.0.4 app/views/enki/admin/comments/_comment.html.erb
enki-engine-0.0.3 app/views/enki/admin/comments/_comment.html.erb
enki-engine-0.0.2 app/views/enki/admin/comments/_comment.html.erb