Sha256: dd431e65a25a2a7620ab41d822b2b8656a448b2ad560875e1b188e783342aa36

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

- raise "you should provide unique id for b.more element (to allow it remember it's state in ajax requests')!" unless object.id?
- if object.content?
	- tag :div, object.merge_html_attributes(:class => " dmore _more") do
		%a{:href => '#', :class => '_button'}= object.name
		._content._hidden= object.content

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
common_interface-0.1.2 lib/views/themes/default/basic/more.html.haml
common_interface-0.1.1 lib/views/themes/default/basic/more.html.haml