Fix tests after introduction of bootstrap

This commit is contained in:
2021-07-22 15:20:45 +00:00
parent 08e396195c
commit 2699d48533
7 changed files with 31 additions and 22 deletions

View File

@@ -50,7 +50,7 @@
<div class="row justify-content-center">
{# Flash messages ! #}
{% if app.session.flashbag.all()|length > 0 %}
{% if app.session.flashbag.keys()|length > 0 %}
<div class="col-8 mt-5 flash_message">
{% for flashMessage in app.session.flashbag.get('success') %}

View File

@@ -29,7 +29,7 @@
<div class="col-md-9">
{# Flash messages ! #}
{% if app.session.flashbag.all()|length > 0 %}
{% if app.session.flashbag.keys()|length > 0 %}
<div class="row justify-content-center mt-5">
{% for flashMessage in app.session.flashbag.get('success') %}

View File

@@ -0,0 +1,6 @@
years_old: >-
{age, plural,
one {# an}
many {# ans}
other {# ans}
}