mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-02 21:16:55 +01:00
Merge pull request #97 from cowka/fix/todo-checked
fix: checkbox checked status opposite
This commit is contained in:
commit
411b100edd
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
{{- /* Checkbox unchecked */ -}}
|
||||
{{- $REin := `<input disabled="" type="checkbox">` -}}
|
||||
{{- $REout := `<i class="far fa-check-square fa-fw"></i>` -}}
|
||||
{{- $REout := `<i class="far fa-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>` -}}
|
||||
{{- $REout = `<i class="far fa-check-square fa-fw"></i>` -}}
|
||||
{{- return replaceRE $REin $REout $content -}}
|
||||
|
|
Loading…
Reference in a new issue