%form{action: url("/search", false, true), method: :get}
  %input{type: "textarea", name: "word", size: 20, value: params[:word]}
  - params.each do |key, value|
    - next if /\A(?:word|page)\z/ =~ key
    %input{type: "hidden", name: key, value: value}
  %input{type: "submit", value: "検索"}
  - unless params_to_description.empty?
    %label
      %input{type: "checkbox", name: "reset_params", value: "1"}
      絞り込みを解除

%form{action: url("/search", false, true), method: :get}
  %input{type: "search", name: "word", size: 20, value: params[:word]}
  - params.each do |key, value|
    - next if /\A(?:word|page)\z/ =~ key
    %input{type: "hidden", name: key, value: value}
  %input{type: "submit", value: "検索"}
  - unless params_to_description.empty?
    %label
      %input{type: "checkbox", name: "reset_params", value: "1"}
      絞り込みを解除

Fix input type for search box
Fix input type for search box
