You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
446B

  1. {{ $hastextarea := .Get "hastextarea" }}
  2. {{ $state := .Get "state" }}
  3. {{ $disabled := .Get "disabled" }}
  4. {{ $form := .Get "form" }}
  5. {{ $name := .Get "name" }}
  6. {{ $class := .Get "class" }}
  7. {{ $legend := .Get "legend" }}
  8. {{ $body := .Get "body" | default .Inner }}
  9. {{ partial "components/formgroup.html" (dict "hastextarea" $hastextarea "state" $state "class" $class "disabled" $disabled "form" $form "name" $name "legend" $legend "body" $body) }}