New: Show quality in dropdowns with best at top (same as profiles)

This commit is contained in:
Mark McDowall 2015-04-07 16:01:32 -07:00
parent 7f38617d76
commit 7e0c833ad0
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{{#each items}}
{{#eachReverse items}}
{{#with quality}}
{{#if selected}}
<option value="{{id}}" selected="selected">{{name}}</option>
@ -6,4 +6,4 @@
<option value="{{id}}">{{name}}</option>
{{/if}}
{{/with}}
{{/each}}
{{/eachReverse}}

View File

@ -2,9 +2,9 @@
<div class="form-group col-md-3 col-md-offset-9">
<select class="form-control x-select">
<option value="choose">Select quality</option>
{{#each qualities}}
{{#eachReverse qualities}}
<option value="{{id}}">{{name}}</option>
{{/each}}
{{/eachReverse}}
</select>
</div>
</div>