Sha256: b4aae0b5bc989218af351652e8aab9012a8db5387ef86edac80f1716e301bd00

Contents?: true

Size: 657 Bytes

Versions: 5

Compression:

Stored size: 657 Bytes

Contents

<% title "Pages" %>

<% content_for(:head) do %>
  <%= stylesheet_link_tag 'pages' %>
<% end %>

<% content_for(:admin) do %>
  <ul>
    <li class="first"><%= link_to 'New Page', new_page_url %></li>
    <li class="last"><%= link_to 'Logout', logout_url %></li>
  </ul>
<% end %>

<div class="right">
  <h3 class="page-title"><%= @title %></h3>
</div>
<br style="clear: both;" />
<div class="pages">
  <% if @pages.empty? %>
    <div class="right">
      <p>No pages have been created yet.
    </div>
  <% else %>
    <% for page in @pages %>
      <%= render :partial => 'pages/item', :locals => { :page => page } %>    
    <% end %>
  <% end %>
</div>


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hubbub-0.0.11 lib/app/views/pages/index.html.erb
hubbub-0.0.10 lib/app/views/pages/index.html.erb
hubbub-0.0.9 lib/app/views/pages/index.html.erb
hubbub-0.0.8 lib/app/views/pages/index.html.erb
hubbub-0.0.6 lib/app/views/pages/index.html.erb