Sha256: 30485990c9fc4116746e21a18a605b8e677f6bc51aa4730a4edd6141ef5ec322

Contents?: true

Size: 544 Bytes

Versions: 85

Compression:

Stored size: 544 Bytes

Contents

%div{ :class => accordion_item_brick.to_style_class }
  .accordion-heading
    %a.accordion-toggle{ 'data-toggle' => 'collapse', 'data-parent' => "##{accordion_item_brick.brick_list.to_style_id}", :href => "##{accordion_item_brick.to_style_id}" }
      = accordion_item_brick.caption
  .accordion-body.collapse{ :id => accordion_item_brick.to_style_id, :class => (accordion_item_brick.brick_list.bricks.first == accordion_item_brick ? 'in' : '') }
    .accordion-inner
      - accordion_item_brick.bricks.each do |brick|
        = render brick

Version data entries

85 entries across 85 versions & 2 rubygems

Version Path
kuhsaft-1.1.0 app/views/kuhsaft/accordion_item_bricks/_accordion_item_brick.html.haml
kuhsaft-1.0.3 app/views/kuhsaft/accordion_item_bricks/_accordion_item_brick.html.haml
kuhsaft-1.0.2 app/views/kuhsaft/accordion_item_bricks/_accordion_item_brick.html.haml
kuhsaft-1.0.1 app/views/kuhsaft/accordion_item_bricks/_accordion_item_brick.html.haml
kuhsaft-1.0.0 app/views/kuhsaft/accordion_item_bricks/_accordion_item_brick.html.haml