Sha256: 069860728f5fa384b0cab443fb16bd0ebb5485422a11300078d9a170edb3a11a

Contents?: true

Size: 447 Bytes

Versions: 3

Compression:

Stored size: 447 Bytes

Contents

- if object.tags?
	- content_tag :div, object.merge_html_attributes(:class => " quiet tags") do	
		- classes = ['size-1', 'size-2', 'size-3', 'size-4']
		- tag_cloud object.tags, classes do |tag, aclass|
			- if object.selected.include? tag.name
				- content_tag :span, :class => "selected_tag #{aclass}" do
					= object.selected_tag_to_link.call tag
			- else
				- content_tag :span, :class => "#{aclass}" do
					= object.tag_to_link.call tag

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crystal-ext-0.0.3 lib/common_interface/app/views/themes/simple_organization/aspects/_tag_selector_t.html.haml
crystal-ext-0.0.2 lib/common_interface/app/views/themes/simple_organization/aspects/_tag_selector_t.html.haml
crystal-ext-0.0.1 lib/common_interface/app/views/themes/simple_organization/aspects/_tag_selector_t.html.haml