Add a hidden field, not shown to humans, to see if we can catch dumb scripts out this way

This commit is contained in:
Tony Garnock-Jones 2021-02-22 09:47:56 +01:00
parent 3dd7c80de9
commit 016686d254
2 changed files with 8 additions and 1 deletions

View File

@ -430,7 +430,10 @@
,(form-group
0 2 `(p ((class "form-control-static"))
(b "Answer:"))
0 10 (text-input "question_answer"))))
0 10 (text-input "question_answer"))
,(text-input "body"
#:extra-classes
'("not-shown-to-humans"))))
,(form-group 4 5 (primary-button "Email me a code"))))
`(div

View File

@ -83,6 +83,10 @@ input#new_version {
width: 6em;
}
.not-shown-to-humans {
display: none;
}
.confirm-package-deletion {
background-color: red;
padding: 2em;