|
|
|
@ -23,20 +23,21 @@
|
|
|
|
|
<%= select_tag(:search_type, options_for_select(auto_trial_options), class: 'form-control') %>
|
|
|
|
|
</div>
|
|
|
|
|
<%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-sm-2 ml-3', placeholder: '输入关键字搜索') %>
|
|
|
|
|
<div class="">
|
|
|
|
|
<a href="javascript:void(0)" class="btn btn-primary" id="shixuns-export" data-disable-with = '导出中...'>导出</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="d-flex mt-3">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group flex-1">
|
|
|
|
|
<label for="status">fork原因:</label>
|
|
|
|
|
<% fork_status_options = [['全部', ''], ["全部fork实训", "Fork"], ["实训内容升级", 'Shixun'], ["课堂教学使用", 'Course'],["实践课程使用",'Subject'],["其他原因",'Other']] %>
|
|
|
|
|
<%= select_tag(:fork_status, options_for_select(fork_status_options), class: 'form-control') %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<%= submit_tag('搜索', class: 'btn btn-primary ml-3','data-disable-with': '搜索中...') %>
|
|
|
|
|
<%= link_to "清除", admins_shixuns_path,class: "btn btn-default",id:"shixuns-clear-search",'data-disable-with': '清除中...' %>
|
|
|
|
|
<div class="flex-1">
|
|
|
|
|
<%= submit_tag('搜索', class: 'btn btn-primary ml-3','data-disable-with': '搜索中...') %>
|
|
|
|
|
<%= link_to "清除", admins_shixuns_path,class: "btn btn-default",id:"shixuns-clear-search",'data-disable-with': '清除中...' %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<a href="javascript:void(0)" class="btn btn-primary" id="shixuns-export" data-disable-with = '导出中...'>导出</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|