forked from e621ng/e621ng
[Posts] Make the search navbar match the pool and set ones
This commit is contained in:
parent
865a524921
commit
c4c857267b
@ -2,12 +2,11 @@
|
||||
<ul>
|
||||
<li class="active">
|
||||
<%= link_to "‹ prev".html_safe, show_seq_post_path(post, :q => params[:q], :seq => "prev"), :rel => "prev nofollow", :class => "prev" %>
|
||||
<span class="search-name">
|
||||
Search:
|
||||
<% if params[:q].presence.nil? %>
|
||||
(none)
|
||||
<span class="search-name">
|
||||
<% if params[:q].nil? %>
|
||||
Search: (none)
|
||||
<% else %>
|
||||
<%= link_to params[:q].presence, posts_path(:tags => params[:q].presence) %>
|
||||
<%= link_to("Search: #{params[:q]}", posts_path(:tags => params[:q])) %>
|
||||
<% end %>
|
||||
</span>
|
||||
<%= link_to "next ›".html_safe, show_seq_post_path(post, :q => params[:q], :seq => "next"), :rel => "next nofollow", :class => "next" %>
|
||||
|
Loading…
Reference in New Issue
Block a user