add navigation link
This commit is contained in:
parent
35c8871354
commit
4ca38904dc
5 changed files with 22 additions and 0 deletions
13
app/views/browse/_navigation.rhtml
Normal file
13
app/views/browse/_navigation.rhtml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div style="float:right; text-align:center; width: 250px;">
|
||||
<% if @prev %>
|
||||
<
|
||||
<%= link_to @prev.id.to_s, :action => type, :id => @prev.id %>
|
||||
<% end %>
|
||||
<% if @prev and @next %>
|
||||
|
|
||||
<% end %>
|
||||
<% if @next %>
|
||||
<%= link_to @next.id.to_s, :action => type, :id => @next.id %>
|
||||
>
|
||||
<% end %>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue