Sha256: d95a1f6f08ddae70595c382e1c6ea22e6830a3a5b6701ebf661740b53b5f47b7

Contents?: true

Size: 610 Bytes

Versions: 2

Compression:

Stored size: 610 Bytes

Contents

<h1><%= t('documents.index.title') %></h1>

<p>
  <%= link_to t('documents.links.new'), new_admin_document_path, :class => 'button' %>
</p>

<%= render "search" %>

<%= paginate @documents %>

<table>
  <tr>
    <th><%= t('documents.title') %></th>
    <th><%= t('documents.link') %></th>
    <th><%= t('documents.file_size') %></th>
  </tr>
  <% for document in @documents %>
  <tr>
    <td><%= link_to document.title, edit_admin_document_path(document) %></td>
    <td><%= document.doc.url(:original, false) %></td>
    <td><%= number_to_human_size document.doc_file_size %></td>
  </tr>
  <% end %>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
merrycms-0.1.7 app/views/admin/documents/index.html.erb
merrycms-0.1.4 app/views/admin/documents/index.html.erb