Sha256: 7656cbc6d0693aefd49ec0ee4f762aa4128348b6c46991ff20bf12054c80fdfc

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 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='#{article.thumb}' width='200'></img></a>"+
          "<div class='title'>#{article.date}</div>"+
          "</div>";
          rescue;end
        %>
      <% end %>
    </td>
  <% end %>
  </tr>
<% end %>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_slippers-0.2.0 test/fixtures/pages/archives.html.erb