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