Sort operating systems alphabetically
This commit is contained in:
parent
22e877dc3d
commit
665d42d7ee
@ -47,7 +47,7 @@
|
|||||||
<div class="row justify-start">
|
<div class="row justify-start">
|
||||||
<label class="align" for="os">Operating System</label>
|
<label class="align" for="os">Operating System</label>
|
||||||
<select id="os" name="os">
|
<select id="os" name="os">
|
||||||
{% for os_id, os in operating_systems.items() %}
|
{% for os_id, os in operating_systems.items()|sort %}
|
||||||
<option value="{{ os_id }}">{{ os.description }}</option>
|
<option value="{{ os_id }}">{{ os.description }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user