Pass category and tag to search to redirect to the right page
Ray's change for mouseover (take out the black background)
This commit is contained in:
parent
6059edad70
commit
2bd132cef9
|
@ -68,7 +68,6 @@
|
||||||
padding: 0 3px;
|
padding: 0 3px;
|
||||||
}
|
}
|
||||||
.main-list .label-td {
|
.main-list .label-td {
|
||||||
background-color: rgba(255, 255, 255, 1);
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<%= form_tag panel_announcement_front_end_bulletins_path, method: :get do %>
|
<%= form_tag panel_announcement_front_end_bulletins_path, method: :get do %>
|
||||||
|
<%= hidden_field_tag :category_id, params[:category_id] %>
|
||||||
|
<%= hidden_field_tag :tag_id, params[:tag_id] %>
|
||||||
<p>
|
<p>
|
||||||
<%= text_field_tag :search_query, params[:search_query],{:value => (params[:search_query].blank?? '' : params[:search_query]),:placeholder=>t("announcement.search") }%>
|
<%= text_field_tag :search_query, params[:search_query],{:value => (params[:search_query].blank?? '' : params[:search_query]),:placeholder=>t("announcement.search") }%>
|
||||||
<%= submit_tag "Search", name: nil %>
|
<%= submit_tag "Search", name: nil %>
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<%= form_tag panel_news_front_end_news_bulletins_path, method: :get do %>
|
<%= form_tag panel_news_front_end_news_bulletins_path, method: :get do %>
|
||||||
|
<%= hidden_field_tag :category_id, params[:category_id] %>
|
||||||
|
<%= hidden_field_tag :tag_id, params[:tag_id] %>
|
||||||
<p>
|
<p>
|
||||||
<%= text_field_tag :search_query, params[:search_query],{:value => (params[:search_query].blank?? '' : params[:search_query]),:placeholder=>t("news.search") }%>
|
<%= text_field_tag :search_query, params[:search_query],{:value => (params[:search_query].blank?? '' : params[:search_query]),:placeholder=>t("news.search") }%>
|
||||||
<%= hidden_field_tag :category_id, params[:category_id] %>
|
<%= hidden_field_tag :category_id, params[:category_id] %>
|
||||||
|
|
Loading…
Reference in New Issue