Fix comma thing [skip ci]

This commit is contained in:
James Cole 2016-04-09 21:07:43 +02:00
parent 0715b7406e
commit 48b169c026

View File

@ -166,9 +166,9 @@
<div class="box-body">
{% for index,budget in inactive %}
{% if index != inactive|length-1 %}
<a href="{{ route('budgets.show',budget.id) }}">{{ budget.name }}</a>,
{% else %}
<a href="{{ route('budgets.show',budget.id) }}">{{ budget.name }}</a>
{% else %}
<a href="{{ route('budgets.show',budget.id) }}">{{ budget.name }}</a>,
{% endif %}
{% endfor %}
</div>