diff sat_templates/templates/bulma/input/field.html @ 316:81689d346cf6

bulma (input/field): added `help` argument to `text` macro
author Goffi <goffi@goffi.org>
date Thu, 29 Apr 2021 15:52:04 +0200
parents 605bce1df126
children ae903ca0ed66
line wrap: on
line diff
--- 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 @@
     <input id="{{cur_id}}" type="checkbox" {% if checked %}checked=checked{% endif %}>
 {% 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) %}