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:
Christophe Vilayphiou 2012-08-09 19:16:26 +08:00
parent 6059edad70
commit 2bd132cef9
3 changed files with 4 additions and 1 deletions

View File

@ -68,7 +68,6 @@
padding: 0 3px;
}
.main-list .label-td {
background-color: rgba(255, 255, 255, 1);
height: 40px;
overflow: hidden;
position: absolute;

View File

@ -1,4 +1,6 @@
<%= 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>
<%= 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 %>

View File

@ -1,4 +1,6 @@
<%= 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>
<%= 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] %>