fix announcement block

This commit is contained in:
Matthew K. Fu JuYuan 2012-09-24 18:43:43 +08:00
parent 78a01f5d29
commit 5634e87144
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<%= 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(: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 %>
</p>
<% end %>