|
|
|
@ -8,16 +8,10 @@
|
|
|
|
|
<div class="d-flex position-r">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="status">状态:</label>
|
|
|
|
|
<% status_options = [['全部', ''], ["编辑中(#{@editing_shixuns})", "editing"], ["待审核(#{@pending_shixuns})", 'pending'], ["已发布(#{@processed_shixuns})", 'processed'],["已关闭(#{@closed_shixuns})",'closed']] %>
|
|
|
|
|
<% status_options = [['全部', ''], ["编辑中(#{@editing_shixuns})", "editing"], ["已发布未公开(#{@processed_shixuns})", 'processed'], ["待审核(#{@pending_public_shixuns})", 'pending'], ["已公开(#{@processed_pubic_shixuns})", 'publiced'], ["已关闭(#{@closed_shixuns})",'closed']] %>
|
|
|
|
|
<%= select_tag(:status, options_for_select(status_options), class: 'form-control') %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group mr-2">
|
|
|
|
|
<label for="status">公开:</label>
|
|
|
|
|
<% public_options = [['全部', ''], ["未公开(#{@none_public_shixuns})", "editing"], ["待审核(#{@pending_public_shixuns})", 'pending'], ["已公开(#{@processed_pubic_shixuns})", 'processed']] %>
|
|
|
|
|
<%= select_tag(:public, options_for_select(public_options), class: 'form-control') %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group mr-2">
|
|
|
|
|
<label for="tag-choosed">技术平台:</label>
|
|
|
|
|
<%= select_tag(:tag, options_for_select(@shixuns_type_check.unshift(["",nil])), class: 'form-control',id:"tag-choosed") %>
|
|
|
|
|