% title "Thread Search" %>
Forum | <%= select_tag "id", options_for_select(forums, params[:id]), include_blank: "Search All Threads" %> |
Label | <%= select_tag "label", options_for_select(label_list, params[:label]), include_blank: "Label" %> |
Title | <%= text_field_tag "title", params[:title], placeholder: "Search Titles" %> |
Content | <%= text_field_tag "content", params[:content], placeholder: "Search Contents" %> |
Author | <%= render partial: "md_editor_user", locals: {name: "author", content: params[:author]} %> | Replies | <%= text_field_tag "reply", params[:reply], placeholder: "Search Replies" %> |
<%= submit_tag "Go", class: "btn blue", style: "width:50px", name: nil %> |