Sha256: 14aaf03e64661c06d76280adbff59654edaf7c7da139d9d1ad892308358ee9e8
Contents?: true
Size: 836 Bytes
Versions: 1
Compression:
Stored size: 836 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> <% 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>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
merrycms-0.1.2 | app/views/admin/pages/index.html.erb |