{# bfx/button.html — Button / link-as-button macro #} {% macro button(label, variant="primary", type="submit", href=none, disabled=false, attrs={}) %} {% if href %} {{ label }} {% else %} {% endif %} {% endmacro %}