Sha256: cc23e0ecfa039888e144cc35b31da79dead99940aedb35d6e0bd8beaf462052e

Contents?: true

Size: 716 Bytes

Versions: 2

Compression:

Stored size: 716 Bytes

Contents

- tag :div, object.merge_html_attributes(:class => " dpage _page dhover_controls_container") do
	- if object.controls?
		.dhover_controls= object.controls.join(' ')
	
	- if object.toolbar?
		%textarea._toolbar_template._hidden
			.toolbar._inplace_target._toolbar.dhover_controls_container
				%br
				.dhover_controls
					= t(:add_embedded_item) + ':'
					= object.toolbar.join(' ')
		
	- if object.name?
		%h1.item_title= object.name
	- else
		 
	
	- if object.text?	
		.dtext._markup.dmarkup= object.text
		._clear
	
	._container
		= object.content.to_a.join("\n")
	
	- if object.tags?
		.ditem_tags= object.tags.join("\n")		
	- if object.details?
		.ditem_details= object.details.to_a.join(', ')
	._clear	

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
common_interface-0.1.2 lib/views/themes/default/items/page.html.haml
common_interface-0.1.1 lib/views/themes/default/items/page.html.haml