diff --git a/webapp/templates/base.html.twig b/webapp/templates/base.html.twig index 9b54ed453b..e953356b67 100644 --- a/webapp/templates/base.html.twig +++ b/webapp/templates/base.html.twig @@ -21,13 +21,13 @@ {% block extrahead %} - {{ extrahead|default('') }} + {{ extrahead | default('') }} {% endblock %} {% for file in customAssetFiles('css') %} {% endfor %} - + {% block menu %}{% endblock %} {% block body %}
@@ -36,7 +36,7 @@ {% block messages %} {% include 'partials/messages.html.twig' %} {% endblock %} - {% block content %}{{ body|raw }}{% endblock %} + {% block content %}{{ body | raw }}{% endblock %}
diff --git a/webapp/templates/form_theme.html.twig b/webapp/templates/form_theme.html.twig index 7f68aff03c..1a491e5f70 100644 --- a/webapp/templates/form_theme.html.twig +++ b/webapp/templates/form_theme.html.twig @@ -1,28 +1,28 @@ {% use 'bootstrap_5_layout.html.twig' %} {% block choice_widget_collapsed -%} - {%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-control form-select')|trim}) -%} + {%- set attr = attr | merge({class: (attr.class | default('') ~ ' form-control form-select') | trim}) -%} {{- parent() -}} {%- endblock choice_widget_collapsed %} {% block button_widget -%} - {% set attr = attr|merge({class: (attr.class|default('') ~ ' btn')|trim}) %} + {% set attr = attr | merge({class: (attr.class | default('') ~ ' btn') | trim}) %} {% if label is empty -%} {%- if label_format is not empty -%} - {% set label = label_format|replace({ + {% set label = label_format | replace({ '%name%': name, '%id%': id, }) %} {%- else -%} - {% set label = name|humanize %} + {% set label = name | humanize %} {%- endif -%} {%- endif -%} - {% if icon|default %} + {% if icon | default %} {% set iconHtml = ' ' %} {% else %} {% set iconHtml = '' %} {% endif %} - + {%- endblock button_widget %} {% block form_widget_simple %} diff --git a/webapp/templates/jury/analysis/contest_overview.html.twig b/webapp/templates/jury/analysis/contest_overview.html.twig index 3311207599..8b5f628b3d 100644 --- a/webapp/templates/jury/analysis/contest_overview.html.twig +++ b/webapp/templates/jury/analysis/contest_overview.html.twig @@ -4,10 +4,10 @@ {% block extrahead %} {{ parent() }} - - - - + + + +