diff --git a/templates/second_factor/loa-stars.html.twig b/templates/second_factor/loa-stars.html.twig index 50e0f581c..1218b579a 100644 --- a/templates/second_factor/loa-stars.html.twig +++ b/templates/second_factor/loa-stars.html.twig @@ -1,21 +1,21 @@ {% set wholeStars = level|number_of_whole_stars %} {% set halfStar = level|half_star %} {% set remainingStars = 3 - wholeStars %} - + {% if wholeStars > 0 %} {% for star in 1..wholeStars %} - + {% endfor %} {% endif %} {% if halfStar %} - + {% set remainingStars = remainingStars - 1 %} {% endif %} {% if remainingStars > 0 %} {% for star in 1..remainingStars %} - + {% endfor %} {% endif %}