Replace frontpageAccounts variable name.

This commit is contained in:
James Cole
2024-04-02 06:59:40 +02:00
parent 6189d24b98
commit dc6d708897

View File

@@ -146,12 +146,12 @@
<div class="col-sm-10">
<div class="checkbox">
<label>
{% if id in frontPageAccounts or frontPageAccounts|length == 0 %}
<input type="checkbox" name="frontPageAccounts[]"
{% if id in frontpageAccounts or frontpageAccounts|length == 0 %}
<input type="checkbox" name="frontpageAccounts[]"
value="{{ id }}"
checked> {{ name }}
{% else %}
<input type="checkbox" name="frontPageAccounts[]"
<input type="checkbox" name="frontpageAccounts[]"
value="{{ id }}"> {{ name }}
{% endif %}
</label>