socialforge/app/views/welcome/_search_project.html.erb

7 lines
392 B
Plaintext

<%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
<div class="project-search" style="float: right">
<%= text_field_tag 'name', params[:name], placeholder:'请输入要搜索的关键字', :size => 30 %>
<%= hidden_field_tag 'project_type', project_type %>
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
</div>
<% end %>