Sha256: 81d185b018f8d031ef33848727447687d5d011f71dca11c11b4e4aa1620aa8e1

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

<h2>Pages</h2>

<% if @pages %>
  <ul>
    <% @pages.each do |p| %>
      <li><%= link_to p.title, current_editor.admin? ? edit_manifest_page_path(p) : manifest_page_path(p) %> <%= link_to('(show)', manifest_page_path(p)) if current_editor.admin? %></li>
    <% end %>
  </ul>
<% end %>

<% if current_editor.admin? %>
  <p class='model_actions'><%= link_to 'New Page', new_manifest_page_path %></p>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
manifest-rails-0.0.4 app/views/manifest/pages/index.html.erb
manifest-rails-0.0.3 app/views/manifest/pages/index.html.erb
manifest-rails-0.0.2 app/views/manifest/pages/index.html.erb