<h1>Verses</h1>

<p>Share your favorite Bible verses with the <%= Setting.get(:name, :church) %> family.</p>

<%= render :partial => 'add_verse' %>

<% content_for :sidebar do %>
  <h2>Tags</h2>
  <div class="tag-cloud">
    <% tag_cloud @tags, %w(size1 size2 size3 size4) do |tag, css_class| %>
      <%= link_to tag.name, tag, :class => css_class %>
    <% end %>
    <% if @tags.empty? %>
      <em>no tags yet</em>
    <% end %>
  </div>
<% end %>

<%= will_paginate @verses %>

<% if @verses.any? %>
  <%= render :partial => @verses %>
<% else %>
  <p><em>No verses yet!</em></p>
<% end %>

<%= will_paginate @verses %>

<% content_for :subnav do %>
  <li><%= link_to_function image_tag('plus.png', :alt => 'Add a verse.', :class => 'icon') + ' Add a Verse', "Element.show('add_verse');Element.hide('add_verse_link');$('reference').focus();" %></li>
<% end %>

<h1>Verses</h1>

<p>Share your favorite Bible verses with the <%= Setting.get(:name, :church) %> family.</p>

<%= render :partial => 'add_verse' %>

<% content_for :sidebar do %>
  <h2>Tags</h2>
  <div class="tag-cloud">
    <% tag_cloud @tags, %w(size1 size2 size3 size4) do |tag, css_class| %>
      <%= link_to tag.name, tag, :class => css_class %>
    <% end %>
    <% if @tags.empty? %>
      <em>no tags yet</em>
    <% end %>
  </div>
<% end %>

<%= will_paginate @verses %>

<% if @verses.any? %>
  <%= render :partial => @verses %>
<% else %>
  <p><em>No verses yet!</em></p>
<% end %>

<%= will_paginate @verses %>

Put add a verse link in subnav on verses listing.
Put add a verse link in subnav on verses listing.
