Sha256: 14704faf903b24c0ab7e8b815bd9bdd1987a47aa27564c4beb9520dc983c3106

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

= render '../shared/top_navigation_bottom'

= render '../shared/tools'					

- content_for :content do	
	- options = b.options do |o|
		- o.name samples.common_name
		- o.controls samples.common_controls
		- o.tags samples.common_tags
		
	= b.divider "Selector (Thumb without Title)"
	- b.selector options do |o|
		- o.text samples.note_text
	- 12.times do 
		- i = rand(3) + 1
		- b.thumb :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 samples.common_controls
	._clear
				

	= b.divider "Selector (Thumb with Title)"
	= b.selector options
	- 3.times do |i|
		- i = i + 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 samples.common_controls
	._clear


	= b.divider "Selector (Lines)"
	= b.selector options

	= render '../shared/line_previews'
	._clear

Version data entries

2 entries across 2 versions & 1 rubygems

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