Sha256: 90e2fcb0080b8aed6c58d07254728a391c892117c6981fb25865d6b69adccecd

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

- if object.tags?
	- tag :div, object.merge_html_attributes(:class => " dtag_selector") do	
		.dtags
			- classes = ['dsize_1', 'dsize_2', 'dsize_3', 'dsize_4']
			- tag_cloud object.tags, classes do |tag, aclass|		
				- if object.selected.include? tag.name
					.dtag.dselected{:class => aclass}
						= object.selected_tag_to_link.call tag
				- else
					.dtag{:class => aclass}
						= object.tag_to_link.call tag

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
common_interface-0.1.2 lib/views/themes/default/aspects/tag_selector.html.haml
common_interface-0.1.1 lib/views/themes/default/aspects/tag_selector.html.haml