parent
bfb05b2406
commit
4776b9075d
@ -1,10 +1,10 @@ |
|||||||
<div class="panel-body"> |
<div class="panel-body"> |
||||||
{% for button in buttons %} |
{% for button in buttons %} |
||||||
<a class="btn btn-{{ button.style }} btn-block" href="{{ url(button.target) }}"> |
<a class="btn btn-{{ button.style }} btn-block" href="{{ button.url?button.url:url(button.route) }}"> |
||||||
{% if icon %} |
{% if button.icon %} |
||||||
{{ icon(icon) }} |
{{ icon(button.icon) }} |
||||||
{% endif %} |
{% endif %} |
||||||
{{ button.text }} |
{{ button.label }} |
||||||
</a> |
</a> |
||||||
{% endfor %} |
{% endfor %} |
||||||
</div> |
</div> |
||||||
|
Reference in new issue