% define_admin_breadcrumbs do %>
<% add_admin_breadcrumb('镜像管理') %>
<% end %>
<%= link_to '新建', new_admins_mirror_repository_path, class: 'btn btn-primary' %>
<% if @error_mirror_names.present? %>
以下镜像异常:
<% @error_mirror_names.each do |mirror_name| %>
<%= mirror_name %>
<% end %>
<% end %>
<%= render partial: 'admins/mirror_repositories/shared/list', locals: { mirrors: @mirrors } %>
<%= render 'admins/mirror_repositories/shared/replace_mirror_modal' %>