Module: Card::Set::Abstract::BootswatchTheme::HtmlViews::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
card/tmpsets/set/mod021-card-mod-bootstrap/abstract/bootswatch_theme/html_views.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/abstract/bootswatch_theme/html_views.rb

Overview

include_set Abstract::BsBadge

Instance Method Summary collapse

Instance Method Details

#view: bar_bottomObject



32
33
34
35
36
# File 'card/tmpsets/set/mod021-card-mod-bootstrap/abstract/bootswatch_theme/html_views.rb', line 32

view :bar_bottom do
  wrap_with :code do
    render_core
  end
end

#view: bar_leftObject



20
21
22
23
24
25
26
# File 'card/tmpsets/set/mod021-card-mod-bootstrap/abstract/bootswatch_theme/html_views.rb', line 20

view :bar_left do
  class_up "card-title", "my-0 ml-2"
  class_up "media-left", "m-0"
  text_with_image size: :medium, title: "", text: _render_title,
                  media_opts: { class: "align-items-center" }
  # field_nest(:image, view: :core) + wrap_with(:h4, render(:title))
end

#view: bar_rightObject



28
29
30
# File 'card/tmpsets/set/mod021-card-mod-bootstrap/abstract/bootswatch_theme/html_views.rb', line 28

view :bar_right do
  customize_button text: "Customize"
end

#view: one_line_contentObject



16
17
18
# File 'card/tmpsets/set/mod021-card-mod-bootstrap/abstract/bootswatch_theme/html_views.rb', line 16

view :one_line_content do
  ""
end