Skip to content

Commit

Permalink
fix not closing last row
Browse files Browse the repository at this point in the history
  • Loading branch information
Leny Bernard committed Oct 3, 2017
1 parent 96040a9 commit f20f97d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Resources/views/show.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<div class="row">
{% for question in widget.questions %}
{% set questionId = loop.index0 %}


{% set alignment = question.alignment %}
{% if alignment is not defined %}
{% set col = 'full' %}
Expand Down Expand Up @@ -128,6 +126,9 @@
</div>

{% set prev_alignment = alignment %}
{% if loop.last %}
</div>
{% endif %}
{% endfor %}
</div>

Expand Down

0 comments on commit f20f97d

Please sign in to comment.