You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/managements/unit.html.erb

18 lines
861 B

6 years ago
<%= form_tag(url_for(unit_managements_path), :id => "unit", :method => "post", :remote => true ) do %>
<div class="edu-con-top clearfix mb20 xmt10 bor-grey-e mt10">
<input class="fl task-form-20 task-height-30 ml25" id="shixun_Look_name" name="search" maxlength="" placeholder="输入关键字进行搜索" type="text">
<a href="javascript:void(0);" class="fl task-btn task-btn-orange ml5 mt-2" onclick="$('#unit').submit();">搜索</a>
<a href="javascript:clearSearchCondition();" class="fl task-btn ml5 mt2" id="clear_contents">清除</a>
<input type="hidden" name="sx_order"/>
</div>
<% end%>
<div class="edu-con-bg01 mt15" id="managements_unit_list">
<%= render :partial => "managements/unit_list" %>
</div>
<script>
function clearSearchCondition(){
$("#shixun_Look_name").val();
$.get('<%= unit_managements_path()%>')
}
</script>