|
|
@ -47,7 +47,7 @@ form #search_type{
|
|
|
|
<%#完了把上面东西放到 .css 里%>
|
|
|
|
<%#完了把上面东西放到 .css 里%>
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<%= form_tag({controller: :welcome, action: :search }, method: :get) do %>
|
|
|
|
<%= form_tag({controller: :welcome, action: :search }, method: :get) do %>
|
|
|
|
<div class="project-search" style="float: right">
|
|
|
|
<div class="project-search" style="float: right; width: 260px">
|
|
|
|
<div class='search_widget'>
|
|
|
|
<div class='search_widget'>
|
|
|
|
<%= text_field_tag :q, nil, placeholder:'请输入要搜索的关键字', :size => 27, style: "float:left" %>
|
|
|
|
<%= text_field_tag :q, nil, placeholder:'请输入要搜索的关键字', :size => 27, style: "float:left" %>
|
|
|
|
<%= select_tag(:search_type, options_for_select(select_option), :style => "float:right" ) %>
|
|
|
|
<%= select_tag(:search_type, options_for_select(select_option), :style => "float:right" ) %>
|
|
|
|