2021-02-18 21:44:01 +01:00
|
|
|
{{- /* Checkbox unchecked */ -}}
|
|
|
|
{{- $old := `<input disabled="" type="checkbox">` -}}
|
2022-08-14 19:01:21 +02:00
|
|
|
{{- $new := `<i class="far fa-square fa-fw" aria-hidden="true"></i>` -}}
|
2021-02-18 21:44:01 +01:00
|
|
|
{{- $content := replace . $old $new -}}
|
|
|
|
|
|
|
|
{{- /* Checkbox checked */ -}}
|
|
|
|
{{- $old = `<input checked="" disabled="" type="checkbox">` -}}
|
2022-08-14 19:01:21 +02:00
|
|
|
{{- $new = `<i class="far fa-check-square fa-fw" aria-hidden="true"></i>` -}}
|
2021-02-18 21:44:01 +01:00
|
|
|
{{- return replace $content $old $new -}}
|