diff --git a/layouts/partials/function/checkbox.html b/layouts/partials/function/checkbox.html
index 820c4e03..7d39720c 100644
--- a/layouts/partials/function/checkbox.html
+++ b/layouts/partials/function/checkbox.html
@@ -1,9 +1,9 @@
{{- /* Checkbox unchecked */ -}}
{{- $REin := `` -}}
-{{- $REout := `` -}}
+{{- $REout := `` -}}
{{- $content := replaceRE $REin $REout . -}}
{{- /* Checkbox checked */ -}}
{{- $REin = `` -}}
-{{- $REout = `` -}}
+{{- $REout = `` -}}
{{- return replaceRE $REin $REout $content -}}