{{ $type := .Get "type" }} {{ $body := .Get "text" | default .Inner }} {{ $isghost := .Get "isghost" }} {{ $isblock := .Get "isblock" }} {{ $id := .Get "id" }} {{ $name := .Get "name" }} {{ $class := .Get "class" }} {{ $action := .Get "action" }} {{ $form := .Get "form" }} {{ $value := .Get "value" }} {{ $onclick := .Get "onclick" }} {{ $disabled := .Get "disabled" }} {{ $tabindex := .Get "tabindex" }} {{ $target := .Get "target" }} {{ $method := .Get "method" }} {{ partial "components/button.html" (dict "type" $type "body" $body "isghost" $isghost "isblock" $isblock "action" $action "form" $form "value" $value "onclick" $onclick "id" $id "name" $name "class" $class "disabled" $disabled "tabindex" $tabindex "target" $target "method" $method) }}