You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/cooperative/competitions/index.html.erb

18 lines
831 B

<% define_breadcrumbs do %>
<% add_breadcrumb('竞赛列表', cooperative_competitions_path) %>
<% end %>
<div class="box mb-3 cooperative-competition-list-form">
<div class="d-flex align-items-center w-100">
<%= javascript_void_link '新增', class: 'btn btn-primary btn-sm', data: { toggle: 'modal', target: '.cooperative-create-competition-modal' } %>
</div>
</div>
<div class="box cooperative-list-container competitions-list-container">
<%= render partial: 'cooperative/competitions/shared/list', locals: { competitions: @competitions } %>
</div>
<%= render 'cooperative/competitions/shared/create_competition_modal' %>
<%= render partial: 'cooperative/shared/modal/upload_file_modal', locals: { title: '上传图片' } %>
<%= render partial: 'cooperative/competitions/shared/import_competition_score_modal' %>