Sha256: fa08b0f04a4f79ccaf7e36a97b56644bac38c4638b009db8e15617f63727d058

Contents?: true

Size: 640 Bytes

Versions: 4

Compression:

Stored size: 640 Bytes

Contents

<h1><%= @path %></h1>

<table>
<% archives.in_groups_of(3, false) do |group| %>
  <tr>
    <% if group.length > 0 %>
      <% for article in group %>
        <td style="border: 1px solid #ddd; padding: 4px; text-align: center;">
        <%= 
          begin;
          "<div class='archived_article'>"+
          "<div class='title'>#{article.title}</div>"+
          "<a href='#{article.url}'><img src='/img/archives/#{article.slug}-full.png' width='200'></img></a>"+
          "<div class='title'>#{article.date}</div>"+
          "</div>";
          rescue;end
        %>
      <% end %>
    </td>
  <% end %>
  </tr>
<% end %>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_slippers-0.2.15 test/fixtures/pages/archives.html.erb
ruby_slippers-0.2.8 test/fixtures/pages/archives.html.erb
ruby_slippers-0.2.4 test/fixtures/pages/archives.html.erb
ruby_slippers-0.2.3 test/fixtures/pages/archives.html.erb