UNC-Libraries/hy-c

View on GitHub
app/views/hyrax/my/works/_batch_actions.html.erb

Summary

Maintainability
Test Coverage
<%# [hyc-override] https://github.com/samvera/hyrax/tree/hyrax-v4.0.0/app/views/hyrax/my/works/_batch_actions.html.erb %>
<div class="batch-info">
  <%= render 'hyrax/dashboard/collections/form_for_select_collection', user_collections: @user_collections %>

  <div class="batch-toggle">
    <% session[:batch_edit_state] = "on" %>
    <%# [hyc-override] remove batch edit button %>
    <%# <div class="button_to-inline"> %>
      <%#= button_to t('hyrax.dashboard.my.action.edit_selected'), hyrax.edit_batch_edits_path, method: :get, class: "btn btn-update btn-primary submits-batches", data: { behavior: 'batch-edit' }, id: 'batch-edit' %>
    <%# </div> %>
    <%# [hyc-override] remove batch delete link %>
    <%#= batch_delete %>
    <%= button_tag t('hyrax.dashboard.my.action.add_to_collection'),
        class: 'btn btn-primary submits-batches submits-batches-add',
        data: { toggle: "modal", target: "#collection-list-container" } %>
  </div>
</div>