I have a list and I\'d like to set one item as class=\"active\" automatically. Given the following bootstrap code:
-
I found a pretty simple Solution using linked items in a list group(http://getbootstrap.com/components/#list-group-linked).
{{#each thing in list}}
{{#link-to "details" thing.id tagName="a" href="view.href" class="list-group-item" {{thing.name}} {{/link-to}}
{{/each}}
Works with Bootstrap v3.1.1 and Ember v1.7.0