chiark / gitweb /
Never use the value attribute of <button> to encode anything we care
[disorder] / templates / prefs.html
index 853e1b0..46722ad 100644 (file)
@@ -65,9 +65,10 @@ USA
    }@
     
     <p>
-     <button class="pref_set" type=submit name=action value=prefs>
+     <button class="pref_set" type=submit name=submit>
       @label:prefs.set@
      </button>
+     <input name=action type=hidden value=prefs>
     </p>
    </form>