Sha256: 26c69a63bd546ea2a8858c743ece92bf317cb7664a0c65603c9694a34e485812

Contents?: true

Size: 323 Bytes

Versions: 72

Compression:

Stored size: 323 Bytes

Contents

%div{ :class => text_brick.to_style_class }
  - if text_brick.read_more_text.present?
    = text_brick.text.to_s.html_safe

    %div.collapse{ :id => text_brick.to_style_id }
      = text_brick.read_more_text.to_s.html_safe

    = read_more_link("##{text_brick.to_style_id}")

  - else
    = text_brick.text.to_s.html_safe

Version data entries

72 entries across 72 versions & 2 rubygems

Version Path
kuhsaft-1.4.1 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.4.0 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.3.1 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.15 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.14 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.13 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.12 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.11 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.10 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.9 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.8 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.7 app/views/kuhsaft/text_bricks/_text_brick.html.haml