|
|
|
@ -8,8 +8,10 @@
|
|
|
|
|
alert("搜索条件不能为空");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$("#search_user_form").submit();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<div class="top-content">
|
|
|
|
@ -21,8 +23,12 @@
|
|
|
|
|
<td rowspan="2">
|
|
|
|
|
</td>
|
|
|
|
|
<td rowspan="2" >
|
|
|
|
|
<div class="project-search" style="float: right">
|
|
|
|
|
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
|
|
|
|
<div class="project-search" style="float: right">
|
|
|
|
|
<label for="user_browse_label"><%= l(:label_user_search_type) %></label>
|
|
|
|
|
<%= select "search_by", "id",
|
|
|
|
|
{ l(:label_search_by_login) => "0", l(:label_search_by_name) => "1", l(:label_search_by_email) => "2" },
|
|
|
|
|
:size => 20 %>
|
|
|
|
|
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
|
|
|
|
<input type="button" class="enterprise" value="<%= l(:label_search) %>" onclick="searchUser();"/>
|
|
|
|
|
<%#= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
|
|
|
|
|
</div>
|
|
|
|
|