mirror of
https://github.com/idanoo/m2.nz.git
synced 2024-11-27 02:35:12 +00:00
10 lines
416 B
HTML
10 lines
416 B
HTML
|
{{- /* Checkbox unchecked */ -}}
|
||
|
{{- $old := `<input disabled="" type="checkbox">` -}}
|
||
|
{{- $new := `<i class="far fa-square fa-fw" aria-hidden="true"></i>` -}}
|
||
|
{{- $content := replace . $old $new -}}
|
||
|
|
||
|
{{- /* Checkbox checked */ -}}
|
||
|
{{- $old = `<input checked="" disabled="" type="checkbox">` -}}
|
||
|
{{- $new = `<i class="far fa-check-square fa-fw" aria-hidden="true"></i>` -}}
|
||
|
{{- return replace $content $old $new -}}
|