diff options
author | libo <libo@forchange.tech> | 2020-02-24 17:28:00 +0300 |
---|---|---|
committer | libo <libo@forchange.tech> | 2020-02-24 17:28:00 +0300 |
commit | 669038758e59e422a46642e7684c1e32cef5fae6 (patch) | |
tree | 7cef3e1dfea7635dcef27fbce631c5d82b437e9a /layouts | |
parent | fbfcbaebcab2cfc8a65cdbdf1dc50c871320b3ac (diff) |
fix: checkbox checked status opposite
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/function/checkbox.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/function/checkbox.html b/layouts/partials/function/checkbox.html index 820c4e0..7d39720 100644 --- a/layouts/partials/function/checkbox.html +++ b/layouts/partials/function/checkbox.html @@ -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 -}} |