Core

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

1
2
3
4
5
6
7
8
{% import "{{{ .Package }}}/app/controller/cutil" %}

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