Sha256: f966a6565a803329910dd197984ad9ab7cd2a9262162c1fd1092bbffb9e6db5e
Contents?: true
Size: 509 Bytes
Versions: 10
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true module Admin module Components class PanelWithLink < Arbre::Component builder_method :panel_with_link def build(title, link_text, link_url, attributes = {}) super(attributes) div class: 'd-flex justify-content-between align-items-center title-panel-wrap' do h3(title, class: 'panel-title panel-with-link') div class: 'ml-auto' do link_to(link_text, link_url) end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems