decko-commons/decko

View on GitHub
mod/layout/set/all/modal/modal_dialog.haml

Summary

Maintainability
Test Coverage
#modal-container.modal.fade._modal-slot{ role: "dialog" }
  //, "data-backdrop": "static"}
  %div{class: classes}
    .modal-content
      - if voo.show? :modal_header
        .modal-header
          = title
          - if voo.show? :modal_menu
            = menu
          -# - else
          -#   %button.btn-close{ type: "button",
          -#                      "data-bs-dismiss": "modal",
          -#                      "aria-label": "Close" }
      .modal-body
        = body
      - if footer.present?
        .modal-footer
          = footer