Sha256: ef73be372be7a846594f90bf8436607990a9a2c9e8912fee365ce73c614bf6a0

Contents?: true

Size: 542 Bytes

Versions: 2

Compression:

Stored size: 542 Bytes

Contents

<%= link_to "New Page", new_admin_page_path, :class => "btn btn-primary" %>

<table class="table">
  <thead>
  <tr>
    <th>Page</th>
    <th></th>
  </tr>
  </thead>
  <tbody>
  <% @pages.each do |page| %>
      <tr>
        <td><%= page.name %></td>
        <td>
          <%= link_to 'View', page_path(page) %>&nbsp;|&nbsp; <%= link_to 'Edit', edit_admin_page_path(page) %>&nbsp;|&nbsp;<%= link_to 'Delete', admin_page_path(page), :confirm => "Are you sure?", :method => :delete %>
        </td>
      </tr>
  <% end %>
  </tbody>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
et_cms-0.0.2 app/views/et_cms/admin/pages/index.html.erb
et_cms-0.0.1 app/views/et_cms/admin/pages/index.html.erb