Sha256: 6ec378439a6ef1c90f6059c0e80fa8b5ea3b40d0c84f9d3174596b6b6d3a57f6

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 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?
	- content_tag :div, object.merge_html_attributes(:class => " dmore _more") do
		%a{:href => '#', :class => '_button'}= object.name
		._content._hidden= object.content

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crystal-ext-0.0.3 lib/common_interface/app/views/themes/default/basic/_more_t.html.haml
crystal-ext-0.0.2 lib/common_interface/app/views/themes/default/basic/_more_t.html.haml
crystal-ext-0.0.1 lib/common_interface/app/views/themes/default/basic/_more_t.html.haml