Sha256: 3c1d9a316c2ec925435d19043b4db771691614c7972b80402626d6f967dae678
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
# frozen_string_literal: true module Plutonium module UI module Display class Base < Phlexi::Display::Base include Plutonium::UI::Component::Behaviour class Builder < Builder def association_tag(**, &) create_component(Plutonium::UI::Display::Component::AssociationField, :association, **, &) end def markdown_tag(**, &) create_component(Plutonium::UI::Display::Component::MarkdownField, :markdown, **, &) end end private def fields_wrapper(&) div(class: themed(:fields_wrapper)) { yield } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
plutonium-0.15.23 | lib/plutonium/ui/display/base.rb |