Sha256: f1440633f68ad7ca7db3ac0af153f76677d9ccd42b3db4ae4ecc04882f10b8ef

Contents?: true

Size: 173 Bytes

Versions: 3

Compression:

Stored size: 173 Bytes

Contents

class AccordionPanelWidget < Widget

  def active_class
    "in" if self.container.panels.first == self
  end

  def description_for_editor
    "Accordion Panel"
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scrivito_accordion_widget-1.0.7 app/models/accordion_panel_widget.rb
scrivito_accordion_widget-1.0.6 app/models/accordion_panel_widget.rb
scrivito_accordion_widget-1.0.2 app/models/accordion_panel_widget.rb