# HG changeset patch # User Goffi # Date 1619704354 -7200 # Node ID ae903ca0ed66fd3cbaf9644bf32acf0d5ebfa787 # Parent 81689d346cf6f0eb0b6c2aea1b489a101987f589 bulma (input/field): color can now be specified for `submit` button diff -r 81689d346cf6 -r ae903ca0ed66 sat_templates/templates/bulma/input/field.html --- a/sat_templates/templates/bulma/input/field.html Thu Apr 29 15:52:04 2021 +0200 +++ b/sat_templates/templates/bulma/input/field.html Thu Apr 29 15:52:34 2021 +0200 @@ -114,14 +114,14 @@ {% endmacro %} -{% macro submit(text=_("Send"), id=none, class="", icon=none, attrs=none) %} +{% macro submit(text=_("Send"), id=none, class="", icon=none, attrs=none, color="is-primary") %} {# submit button @param text(str): label of the button @param id(none, str): id of the element #}
- + {{text}} {% if icon %}