|
|
|
@ -18,9 +18,11 @@
|
|
|
|
|
</a>
|
|
|
|
|
{% endmacro %}
|
|
|
|
|
|
|
|
|
|
{% macro button(label, url, type, size, title) %}
|
|
|
|
|
{% macro button(label, url, type, size, title, icon_left, icon_right) %}
|
|
|
|
|
<a href="{{ url }}" class="btn btn-{{ type|default('secondary') }}{% if size %} btn-{{ size }}{% endif %}"{% if title %} title="{{ title }}"{% endif %}>
|
|
|
|
|
{%- if icon_left is defined %}{{ _self.icon(icon_left) }}{% endif %}
|
|
|
|
|
{{ label }}
|
|
|
|
|
{%- if icon_right is defined %}{{ _self.icon(icon_right) }}{% endif %}
|
|
|
|
|
</a>
|
|
|
|
|
{% endmacro %}
|
|
|
|
|
|
|
|
|
|