mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-02-02 01:54:13 +00:00
fix locales sort order
This commit is contained in:
parent
77616c3c8a
commit
7a1fa12271
@ -87,9 +87,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="padding-t-16-px padding-b-8-px">
|
<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">
|
<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" />
|
<input name="locales[]" id="{{ locale }}" type="checkbox" value="{{ locale }}" checked="checked" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<input name="locales[]" id="{{ locale }}" type="checkbox" value="{{ locale }}" />
|
<input name="locales[]" id="{{ locale }}" type="checkbox" value="{{ locale }}" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user