Mercurial > libervia-templates
comparison sat_templates/templates/bulma/input/field.html @ 367:58c4c1664421
bulma (input/field): add `search` field
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Jul 2023 11:37:08 +0200 |
parents | 1de6a0ecd529 |
children |
comparison
equal
deleted
inserted
replaced
366:86768e821e1f | 367:58c4c1664421 |
---|---|
75 | 75 |
76 {% 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) %} | 76 {% 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) %} |
77 {{ 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) }} | 77 {{ 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) }} |
78 {% endmacro %} | 78 {% endmacro %} |
79 | 79 |
80 {% macro search(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) %} | |
81 {{ field("search", 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) }} | |
82 {% endmacro %} | |
83 | |
80 {% macro password(name, label="", value=none, required=false, minlength=none, icon_left=none, icon_right=none) %} | 84 {% macro password(name, label="", value=none, required=false, minlength=none, icon_left=none, icon_right=none) %} |
81 {{ field("password", name=name, label=label, value=value, required=required, icon_left=icon_left, icon_right=icon_right, attrs={'minlength': minlength}) }} | 85 {{ field("password", name=name, label=label, value=value, required=required, icon_left=icon_left, icon_right=icon_right, attrs={'minlength': minlength}) }} |
82 {% endmacro %} | 86 {% endmacro %} |
83 | 87 |
84 {% macro email(name, label="", required=false, value=none, placeholder=none, icon_left=none, icon_right=none) %} | 88 {% macro email(name, label="", required=false, value=none, placeholder=none, icon_left=none, icon_right=none) %} |