Sha256: c9e61cb7af55443d5382022386c91fb7742ac93b9fc72fc7078c465c5d6312e2

Contents?: true

Size: 724 Bytes

Versions: 3

Compression:

Stored size: 724 Bytes

Contents

- content_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

3 entries across 3 versions & 1 rubygems

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