Sha256: 6e9f9c242f2c4a9d770216b1122406ede4ba25ef05b9b5b21e73dbd93ecb7f8d

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

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

    = read_more_link("##{text_brick.to_style_id}")
    %div.collapse{ :id => text_brick.to_style_id }
      = text_brick.read_more_text.to_s.html_safe

  - else
    = text_brick.text.to_s.html_safe

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kuhsaft-1.2.6 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.5 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.4 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.2.3 app/views/kuhsaft/text_bricks/_text_brick.html.haml