<% define_admin_breadcrumbs do %>
  <% add_admin_breadcrumb('系统升级提醒', admins_upgrade_notices_path) %>
<% end %>

<div class="box search-form-container upgrade-notice-list-form rig">
  <div class="flex-1">
    <%= javascript_void_link '新增', class: 'btn btn-primary', data: { toggle: 'modal', target: '.admin-create-upgrade-notice-modal' } %>
  </div>
</div>

<div class="box admin-list-container admin-upgrade-notices-list-container">
  <%= render(partial: 'admins/upgrade_notices/shared/list') %>
</div>

<%= render partial: 'admins/upgrade_notices/shared/create_upgrade_notice_modal', locals: {upgrade_notice: @upgrade_notice} %>
