Sha256: 00ca2e582d70508e33561d2969a92519ae5b20a639b181401589b261b6271e25

Contents?: true

Size: 638 Bytes

Versions: 7

Compression:

Stored size: 638 Bytes

Contents

include_set Abstract::Media
include_set Abstract::BsBadge

format :html do
  before :box do
    voo.show! :customize_button, :box_middle
  end

  view :closed_content do
    ""
  end

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

  view :bar_right do
    customize_button text: "Customize"
  end

  view :bar_bottom do
    wrap_with :code do
      render_core
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
card-1.96.8 mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb
card-1.96.7 mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb
card-1.96.6 mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb
card-1.96.5 mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb
card-1.96.4 mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb
card-1.96.3 mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb
card-1.96.2 mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb