Core

/views/components/ExpandCollapse.html (293 B)

1
2
3
4
5
6
7
8
9
{% import (
"{{{ .Package }}}/app/controller/cutil"
"{{{ .Package }}}/views/vutil"
) %}

{% func ExpandCollapse(indent int, ps *cutil.PageState) %}{% stripspace %}
{%= vutil.Indent(true, indent) %}
{%= SVGRef(`right`, 15, 15, `expand-collapse`, ps) %}
{% endstripspace %}{% endfunc %}