configure first day of week for calendar and date-picker (#1952)
This commit is contained in:
@@ -2,18 +2,15 @@
|
||||
|
||||
{% block main %}
|
||||
{{ form_start(form) }}
|
||||
{% for section, entries in sections %}
|
||||
{% for section in sections %}
|
||||
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
|
||||
{% block box_body %}
|
||||
{% for pref in form.children.preferences %}
|
||||
{% if pref.vars.data.name in entries %}
|
||||
{{ form_row(pref) }}
|
||||
{% endif %}
|
||||
{% for pref in form.children.preferences|filter(pref => pref.vars.data.section == section)|sort((a, b) => a.vars.data.order <=> b.vars.data.order) %}
|
||||
{{ form_row(pref) }}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
{% endfor %}
|
||||
{{ form_widget(form) }}
|
||||
<input type="submit" value="{{ 'action.save'|trans }}" class="btn btn-primary" />
|
||||
{{ form_end(form) }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user