add tag seq nav
This commit is contained in:
@@ -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>
|
||||
|
||||
9
app/views/posts/partials/show/_tag_seq.html.erb
Normal file
9
app/views/posts/partials/show/_tag_seq.html.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<div id="tag-seq-nav" class="ui-corner-all nav-notice">
|
||||
<ul>
|
||||
<li>
|
||||
<%= link_to "«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»".html_safe, show_seq_post_path(post, :tags => params[:tags], :seq => "next"), :rel => "next" %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user