{{ $action := .Get "action" }} {{ $target := .Get "target" }} {{ $method := .Get "method" }} {{ $body := .Get "body" | default .Inner }} {{ partial "components/buttongroup.html" (dict "action" $action "target" $target "method" $method "body" $body)}}