Sha256: 64e1410413ccb2d8e72d2f6087b7adcd4fcf17eb52395b8b026a6c12409a9774

Contents?: true

Size: 850 Bytes

Versions: 5

Compression:

Stored size: 850 Bytes

Contents

<h1>Pages</h1>
<table class="table table-striped">
  <thead>
    <tr>
      <th>Name</th>
      <th>Path</th>
      <th>Article</th>
      <th>Layout</th>
      <th>Default</th>
      <th>Actions</th>
    </tr>
  </thead>
  <tbody>
    <% @pages.each do |page| %>
      <tr>
        <td><%= page.name %></td>
        <td><%= page.path %></td>
        <td><%= page.article.name %></td>
        <td><%= page.layout.path %></td>
        <td><%= page.default %></td>
        <td>
          <%= link_to 'Edit', kuztuscms.edit_page_path(page), :class => 'btn btn-mini' %>
          <%= link_to 'Destroy', kuztuscms.page_path(page), :method => :delete, :confirm => 'Are you sure?', :class => 'btn btn-mini btn-danger' %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= link_to 'New', kuztuscms.new_page_path, :class => 'btn btn-primary' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kuztuscms-0.0.8 app/views/kuztuscms/pages/index.html.erb
kuztuscms-0.0.7 app/views/kuztuscms/pages/index.html.erb
kuztuscms-0.0.6 app/views/kuztuscms/pages/index.html.erb
kuztuscms-0.0.5 app/views/kuztuscms/pages/index.html.erb
kuztuscms-0.0.4 app/views/kuztuscms/pages/index.html.erb