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

pull/6/head
Mark McDowall 10 years ago
parent 7f38617d76
commit 7e0c833ad0

@ -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}}

@ -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>

Loading…
Cancel
Save