Sha256: 08917bd93ff753b4c819d9d39b7d64f67d11931fdfeab15e8b2c767485f35f6c

Contents?: true

Size: 636 Bytes

Versions: 2

Compression:

Stored size: 636 Bytes

Contents

- b.folder :class => "_item _sortable_container", :html_attributes => {"data-item_class" => '_item'} do |o|
	- o.name "Pictures for Terminator Movie"
	- o.controls [link_to('add', '#'), link_to('edit', '#'), link_to('delete', '#'), link_to('move', '#', {}, :class => '_handle')]
	- o.content do
		- 5.times do 			
			- i = rand(3) + 1
			- b.thumb :name => "The Salvator", :class => '_item' do |o|
				- o.thumb url_for("/common_interface/images/img#{i}_thumb.jpg")
				- o.url url_for("/common_interface/images/img#{i}.jpg")
				- o.controls [link_to('edit', '#'), link_to('delete', '#'), link_to('move', '#', {}, :class => '_handle')]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
common_interface-0.1.2 lib/views/CommonInterface/Demo/Basic/page/_folder.html.haml
common_interface-0.1.1 lib/views/CommonInterface/Demo/Basic/page/_folder.html.haml