Sha256: c112abe7eb8fcdb0c278b595cb8d5494b68d5e18f358aef66c75d8de52dcd8cc

Contents?: true

Size: 1017 Bytes

Versions: 34

Compression:

Stored size: 1017 Bytes

Contents

.grid.grid--auto.grid--middle
  .grid__cell= link_to t('workarea.admin.shared.bulk_actions.import'), new_data_file_import_path(model_type: klass, return_to: index_url_for(klass)), class: 'workflow-bar__button'

  .grid__cell
    = form_tag new_data_file_export_path, method: :get, data: { bulk_action_form: '' } do
      = hidden_field_tag 'model_type', klass
      - if local_assigns[:search].present?
        = hidden_field_tag 'query_id', search.to_gid_param
      = hidden_field_tag 'return_to', index_url_for(klass)
      %button.workflow-bar__button.workflow-bar__button--left-divide{ type: :submit }= t('workarea.admin.shared.bulk_actions.export')

  = yield
  = append_partials("admin.bulk_actions.#{klass.model_name.route_key}", local_assigns.slice(:klass, :search))

  - unless local_assigns.key?(:bulk_delete) && !bulk_delete
    = render('workarea/admin/bulk_action_deletions/form', model_type: klass, query_id: local_assigns[:search]&.to_gid_param)

  %div{ data: { bulk_action_count_placeholder: '' } }

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-admin-3.4.45 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.27 app/views/workarea/admin/shared/_bulk_actions.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/shared/_bulk_actions.html.haml