 ="{{ max }}" data-step="{{ step|default(1) }}" class="
		{%- if type == 'icon' or type == 'text' -%} /**- display as icon -*/
			switch ui-link
		{%- else -%} /**- display as button -*/
			ui-btn ui-{{ type|default('mini') }} ui-corner-all ui-btn-inline
		{%- endif -%}
			{%- if icon is empty -%}
				">
			{%- else -%}
				{{ not text is empty ? ' ui-btn-icon-top' }} ui-nodisc-icon">{{ basic.icon(icon) }}
			{%- endif -%}
		{{- text|e -}}
	</a>
{% endmacro %}


/**
* prints value or text (optionally calcul