add tag seq nav

This commit is contained in:
albert
2013-02-25 12:09:02 -05:00
parent 2aa141aa69
commit c6d03f2d3a
10 changed files with 81 additions and 13 deletions

View File

@@ -1,3 +1,3 @@
<section id="pool-nav">
<div id="pool-nav" class="ui-corner-all nav-notice">
<%= @post.presenter.pool_html(self) %>
</section>
</div>

View File

@@ -0,0 +1,9 @@
<div id="tag-seq-nav" class="ui-corner-all nav-notice">
<ul>
<li>
<%= link_to "&laquo;prev".html_safe, show_seq_post_path(post, :tags => params[:tags], :seq => "prev"), :rel => "prev" %>
<span class="tag-name">Search: <%= params[:tags] %></span>
<%= link_to "next&raquo;".html_safe, show_seq_post_path(post, :tags => params[:tags], :seq => "next"), :rel => "next" %>
</li>
</ul>
</div>