# HG changeset patch # User Goffi # Date 1619704324 -7200 # Node ID 81689d346cf6f0eb0b6c2aea1b489a101987f589 # Parent f7ffdd1aed4c9c4d366587f500561b65d877bdae bulma (input/field): added `help` argument to `text` macro diff -r f7ffdd1aed4c -r 81689d346cf6 sat_templates/templates/bulma/input/field.html --- a/sat_templates/templates/bulma/input/field.html Sat Mar 27 15:15:51 2021 +0100 +++ b/sat_templates/templates/bulma/input/field.html Thu Apr 29 15:52:04 2021 +0200 @@ -73,8 +73,8 @@ {% endmacro %} -{% macro text(name, label="", value=none, class="", control_class="", placeholder=none, required=false, pattern=none, title=none, autocomplete=none, icon_left=none, icon_right=none, in_group=false) %} - {{ field("text", name=name, label=label, value=value, class=class, control_class=control_class, required=required, icon_left=icon_left, icon_right=icon_right, attrs={'placeholder': placeholder, 'pattern': pattern, 'title': title, 'autocomplete': autocomplete}, in_group=in_group, caller=caller) }} +{% macro text(name, label="", value=none, class="", control_class="", placeholder=none, help="", required=false, pattern=none, title=none, autocomplete=none, icon_left=none, icon_right=none, in_group=false) %} + {{ field("text", name=name, label=label, value=value, class=class, control_class=control_class, help=help, required=required, icon_left=icon_left, icon_right=icon_right, attrs={'placeholder': placeholder, 'pattern': pattern, 'title': title, 'autocomplete': autocomplete}, in_group=in_group, caller=caller) }} {% endmacro %} {% macro password(name, label="", value=none, required=false, minlength=none, icon_left=none, icon_right=none) %}