% define_admin_breadcrumbs do %>
<% add_admin_breadcrumb('统计总表', admins_daily_school_statistics_path) %>
<% end %>
<%= form_tag(admins_daily_school_statistics_path, method: :get, class: 'form-inline search-form', remote: true) do %>
<%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-sm-2 ml-3', placeholder: 'ID/单位名称搜索') %>
<%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %>
<% end %>
<%#= link_to '导出Excel', export_admins_daily_school_statistics_path(format: :xlsx), class: 'btn btn-outline-primary export-action' %>
<%= javascript_void_link '导出Excel', class: 'btn btn-outline-primary export-action', 'data-url': export_admins_daily_school_statistics_path(format: :xlsx) %>
统计总计:
教师总人数<%= @teacher_total %>人,
学生总人数<%= @student_total %>人,
课堂总数<%= @course_total %>个,
正在进行课堂总数<%= @active_course_total %>个,
实训总数<%= @shixun_total %>个,
实训评测总数<%= @shixun_evaluate_total %>个,
实训作业总数<%= @shixun_homework_total %>个,
其它作业总数<%= @other_homework_total %>个
<%= render partial: 'admins/daily_school_statistics/shared/list', locals: { statistics: @statistics } %>