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.
7 lines
373 B
7 lines
373 B
<button
|
|
{{ if .action }}formaction="{{ .action | safeURL }}" {{ end }}
|
|
{{ if .target }}formtarget="{{ .target }}" {{ end }}
|
|
{{ if in (slice "get" "post") .method }}formmethod="{{ .method }}" {{ end }}
|
|
class="btn btn-{{ .type | default "default" }}{{ if eq .isghost "true" }} btn-ghost{{ end }}
|
|
{{ if eq .isblock "true" }} btn-block{{ end }}"
|
|
>{{ .body }}</button> |