Sha256: 8191cdb9ab5bfda66f9042960b331c137323ef3ce72e8e70932988dea145e588

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

%div{ :class => text_brick.to_style_class }
  - if text_brick.read_more_text.present?
    .expandable{ :id => text_brick.to_style_id }
      = text_brick.text.html_safe
      %a.more{ :href => '#' }
        = t('.read_more')
      .expandable-content.hidden
        = text_brick.read_more_text.html_safe
        %a.less{ :href => "##{text_brick.to_style_id}" }
          = t('.read_less')
  - else
    = text_brick.text.html_safe

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kuhsaft-1.0.2 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.0.1 app/views/kuhsaft/text_bricks/_text_brick.html.haml
kuhsaft-1.0.0 app/views/kuhsaft/text_bricks/_text_brick.html.haml