Sha256: b918e75b96a1871098a9cb3be3a60a769b1bb39abb0aa7ad71fe59c0d8c6abf2
Contents?: true
Size: 919 Bytes
Versions: 12
Compression:
Stored size: 919 Bytes
Contents
- if @turbo_frame.present? <turbo-frame id="#{@turbo_frame}"> .card{ class: @background } .card-header{ class: @header_background } %h3.card-title= @title .card-tools - if header_tools? = header_tools -# %button.btn.btn-tool{ type: :button, 'data-card-widget': :collapse } -# %i.fas.fa-minus -# %button.btn.btn-tool{ type: :button, 'data-card-widget': :maximize } -# %i.fas.fa-expand .card-body - if @collection&.size&.positive? %div{style: @max_height.present? ? "max-height: #{@max_height}; overflow-y: auto; overflow-x: hidden" : ""} = render Olivander::Components::TablePortletComponent::TableComponent.with_collection(@collection, builder: @builder, headers: @headers) - else No #{@title.downcase} to display. - if footer_buttons? .card-footer.text-right = footer_buttons - if @turbo_frame.present? </turbo-frame>
Version data entries
12 entries across 12 versions & 1 rubygems