about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-05-12T14·52+0200
committersterni <sternenseemann@systemli.org>2021-05-12T15·36+0000
commit1da235518a3da90a0d5ab4915e120f7fbe7434cc (patch)
tree32fee95116a038bb6d510fdc9b8b67db7f4d5c6f /web
parentc92f4ceaccd51cedee417f4634f14b24d6f0df80 (diff)
feat(web/atward): make checkbox label clickable r/2589
Change-Id: I147f1f2eee4f6b8f7ecea1b341d192477182d61c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3116
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'web')
-rw-r--r--web/atward/indexHtml/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/atward/indexHtml/default.nix b/web/atward/indexHtml/default.nix
index 56e2f0e1b5ff..be7c2a4a241f 100644
--- a/web/atward/indexHtml/default.nix
+++ b/web/atward/indexHtml/default.nix
@@ -43,8 +43,9 @@ depot.web.tvl.template {
     <form class="cheddar-callout cheddar-todo">
       <input type="checkbox"
              id="cs-setting"
-             onchange="saveSetting(this, 'cs');"
-             > Use Sourcegraph instead of cgit</input>
+             name="cs-setting"
+             onchange="saveSetting(this, 'cs');">
+      <label for="cs-setting">Use Sourcegraph instead of cgit</label>
     </form>
 
     <noscript>