5 lines
226 B
HTML
5 lines
226 B
HTML
{{- $type := .Get "type" | default "submit" -}}
|
|
{{- $name := .Get "name" | default "submit" -}}
|
|
{{- $label := .Get "label" | default (title $name) -}}
|
|
<button type="{{ $type }}"
|
|
class="btn btn-primary">{{ $label }}</button>
|