# HG changeset patch # User Goffi # Date 1597386847 -7200 # Node ID edefc1f25219ede92e70b6573f507da22c78dee6 # Parent ce2fd7a3911d2bac3857b01374eac6f872616c7c bulma (input/field): fixed use of `attrs` in `field`, added args, replaced use of `kwargs` diff -r ce2fd7a3911d -r edefc1f25219 sat_templates/templates/bulma/input/field.html --- a/sat_templates/templates/bulma/input/field.html Fri Aug 14 08:30:11 2020 +0200 +++ b/sat_templates/templates/bulma/input/field.html Fri Aug 14 08:34:07 2020 +0200 @@ -11,7 +11,7 @@ {% endif %}
- + {% if icon_left %} {# we use with font from CSS instead of SVG, because using directly SVG doesn't play way with Bulma's control #} @@ -30,7 +30,7 @@
{% endmacro %} -{% macro select(name, options_list, selected=none, required=false, multiple=false) %} +{% macro select(name, options_list, selected=none, required=false, multiple=false, class='') %} {# selection of elements with + {% endmacro %} -{% macro choices(name, choices_list, checked=none) %} -
+{% macro choices(name, choices_list, checked=none, class='') %} +
{% for choice, label in choices_list %}