forgeplus/app/views/admins/system_notifications/index.html.erb

21 lines
1.1 KiB
Plaintext

<% define_admin_breadcrumbs do %>
<% add_admin_breadcrumb('系统通知模版') %>
<% end %>
<div id="admins-system-notification-content">
<div class="box search-form-container project-list-form">
<%= form_tag(admins_system_notifications_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>
<%= text_field_tag(:search, params[:search], class: 'form-control col-12 col-md-2 mr-3', placeholder: '系统通知标题检索') %>
<%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %>
<input type="reset" class="btn btn-secondary clear-btn" value="清空"/>
<% end %>
<%= link_to "新增", new_admins_system_notification_path, remote: true, class: "btn btn-primary pull-right", "data-disabled-with":"...新增" %>
</div>
<div class="box py-0 pt-4 pl-4 daily-school-statistic-title">
</div>
<div class="box admin-list-container system-notification-list-container">
<%= render partial: 'admins/system_notifications/list', locals: { notifications: @notifications } %>
</div>
</div>