mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 09:05:43 +00:00
fix locales sort order
This commit is contained in:
parent
77616c3c8a
commit
7a1fa12271
1 changed files with 2 additions and 2 deletions
|
|
@ -87,9 +87,9 @@
|
|||
</div>
|
||||
</td>
|
||||
<td class="padding-t-16-px padding-b-8-px">
|
||||
{% for locale in locales %}
|
||||
{% for locale in locales | sort %}
|
||||
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if locale in user.locales | sort %}
|
||||
{% if locale in user.locales %}
|
||||
<input name="locales[]" id="{{ locale }}" type="checkbox" value="{{ locale }}" checked="checked" />
|
||||
{% else %}
|
||||
<input name="locales[]" id="{{ locale }}" type="checkbox" value="{{ locale }}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue