Sha256: 0aec4a93fd86b6a16185d66ebb34a6914126739470f9125c5424df520e4414ce

Contents?: true

Size: 545 Bytes

Versions: 3

Compression:

Stored size: 545 Bytes

Contents

- @model.available_actions.select{|act| act if act.route_type == 'collection' && act.display_type == :modal}.each do |custom_action|
  .modal.fade id="#{custom_action.name.classify}Modal" aria-hidden="true" aria-labelledby="exampleModalLabel" tabindex="1" 
    .modal-dialog
      .modal-content
        .modal-header
          h5#exampleModalLabel.modal-title = custom_action.name.classify
          button.btn-close aria-label="Close" data-bs-dismiss="modal" type="button" 
        .modal-body
          = render partial: custom_action.partial

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cm-admin-0.5.3 app/views/layouts/_custom_action_modals.html.slim
cm-admin-0.5.2 app/views/layouts/_custom_action_modals.html.slim
cm-admin-0.5.0 app/views/layouts/_custom_action_modals.html.slim