|
|
@ -6,7 +6,7 @@
|
|
|
|
<%= form_tag(admins_subject_settings_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>
|
|
|
|
<%= form_tag(admins_subject_settings_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>
|
|
|
|
<div class="form-group mr-1">
|
|
|
|
<div class="form-group mr-1">
|
|
|
|
<label for="status">状态:</label>
|
|
|
|
<label for="status">状态:</label>
|
|
|
|
<% status_options = [['全部', ''], ['编辑中', 'pending'], ['审核中', 'applying'], ['已发布', 'published']] %>
|
|
|
|
<% status_options = [['全部', ''], ['编辑中', 'pending'], ['审核中', 'applying'], ['已公开', 'published']] %>
|
|
|
|
<%= select_tag(:status, options_for_select(status_options), class: 'form-control') %>
|
|
|
|
<%= select_tag(:status, options_for_select(status_options), class: 'form-control') %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|