Sha256: 716e05272f015c6a6ed030739536baa565ba9bfe11e9a25e6a0ad17b92fef586
Contents?: true
Size: 834 Bytes
Versions: 2
Compression:
Stored size: 834 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' %> <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> <% if @pages.size == 0 %> <tr> <td colspan="5">Aucune page</td> </tr> <% else %> <% @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 %> <% end %> </table> <%= paginate @pages %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merrycms-0.1.1 | app/views/admin/pages/index.html.erb |
merrycms-0.1.0 | app/views/admin/pages/index.html.erb |