class Admin::Components::PanelWithLink
Public Instance Methods
build(title, link_text, link_url, attributes = {})
click to toggle source
Calls superclass method
# File lib/light_admin/panel_with_link.rb, line 6 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