Sha256: 35db1000ca842ee83c527944f033014a86488652aeed399262d8fdee16133431

Contents?: true

Size: 365 Bytes

Versions: 14

Compression:

Stored size: 365 Bytes

Contents

<h1><%= @comments.count %> comments</h1>

<table class="table">
<% @comments.each do |comm| %>
  <tr>
    <td><a href="<%= url("/comments/#{comm.id}") %>"><%= comm.id %></a></td>
    <td><%= comm.author_name %></td>
    <td><%= comm.author_email %></td>
    <td><%= comm.author_url %></td>
    <td><%= comm.content[0..50] + '...' %></td>
  </tr>
<% end %>
</table>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cachai-0.2.8 lib/views/comments.erb
cachai-0.2.7 lib/views/comments.erb
cachai-0.2.6 lib/views/comments.erb
cachai-0.2.5 lib/views/comments.erb
cachai-0.2.4 lib/views/comments.erb
cachai-0.2.3 lib/views/comments.erb
cachai-0.2.2 lib/views/comments.erb
cachai-0.2.1 lib/views/comments.erb
cachai-0.2.0 lib/views/comments.erb
cachai-0.1.4 lib/views/comments.erb
cachai-0.1.3 lib/views/comments.erb
cachai-0.1.2 lib/views/comments.erb
cachai-0.1.1 lib/views/comments.erb
cachai-0.1.0 lib/views/comments.erb