Sha256: 80dd0360356afb11d6e4d7ac5fd1766cb105d03f93aecd2154daf3cf6514d09b

Contents?: true

Size: 713 Bytes

Versions: 2

Compression:

Stored size: 713 Bytes

Contents

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

<p><%= link_to t('pages.index.new_page'), new_admin_page_path, :class => "button" %></p>

<%= render 'search' %>

<%= paginate @pages %>

<table>
  <tr>
    <th><%= t('activerecord.attributes.page.title') %></th>
    <th><%= t('activerecord.attributes.page.link') %></th>
    <th><%= t('categories.category') %></th>
    <th><%= t('pages.state') %></th>
    <th></th>
  </tr>
  <% @pages.each do |page| %>
  <tr>
    <td><%= link_to page.title, edit_admin_page_path(page) %></a></td>
    <td><%= page.link %></td>
    <td><%= display_page_category(page) %></td>
    <td><%= display_state(page) %></td>
    <td><%= display_events(page) %></td>
  </tr>
  <% end %>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

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