mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +01:00
9 lines
394 B
HTML
9 lines
394 B
HTML
{{- /* Checkbox unchecked */ -}}
|
|
{{- $REin := `<input disabled="" type="checkbox">` -}}
|
|
{{- $REout := `<i class="far fa-check-square fa-fw"></i>` -}}
|
|
{{- $content := replaceRE $REin $REout . -}}
|
|
|
|
{{- /* Checkbox checked */ -}}
|
|
{{- $REin = `<input checked="" disabled="" type="checkbox">` -}}
|
|
{{- $REout = `<i class="far fa-square fa-fw"></i>` -}}
|
|
{{- return replaceRE $REin $REout $content -}}
|