framework/ember/app/templates/components/ui/controls/dropdown-select.hbs

7 lines
302 B
Handlebars
Raw Normal View History

2015-01-03 09:56:14 +08:00
{{#if items}}
<a href="#" {{bind-attr class=":dropdown-toggle buttonClass"}} data-toggle="dropdown">
<span class="label">{{activeItem.label}}</span>
2015-01-03 09:56:14 +08:00
{{fa-icon "sort" class="icon-caret"}}
</a>
2015-01-03 19:21:47 +08:00
{{ui/controls/item-list items=items class=dropdownMenuClass viewName="menu"}}
2015-01-03 09:56:14 +08:00
{{/if}}