Sha256: 832395d2f50d7d1cd22bcd287b631db0d35e6e4a207f4d64c098d909e21c2a24

Contents?: true

Size: 775 Bytes

Versions: 1

Compression:

Stored size: 775 Bytes

Contents

<h1>Listing pages</h1>

<table>
  <thead>
    <tr>
      <th>Category</th>
      <th>Language</th>
      <th>Title</th>
      <th>Summary</th>
      <th>Body</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @pages.each do |page| %>
      <tr>
        <td><%= page.category_id %></td>
        <td><%= page.language%></td>
        <td><%= page.title %></td>
        <td><%= page.summary %></td>
        <td><%= page.body %></td>
        <td><%= link_to 'Show', page %></td>
        <td><%= link_to 'Edit', edit_page_path(page) %></td>
        <td><%= link_to 'Destroy', page, method: :delete, data => { confirm => 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Page', new_page_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vellum-0.0.2 app/views/vellum/pages/index.html.erb