Add a hidden field, not shown to humans, to see if we can catch dumb scripts out this way
This commit is contained in:
parent
3dd7c80de9
commit
016686d254
|
@ -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
|
||||
|
|
|
@ -83,6 +83,10 @@ input#new_version {
|
|||
width: 6em;
|
||||
}
|
||||
|
||||
.not-shown-to-humans {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.confirm-package-deletion {
|
||||
background-color: red;
|
||||
padding: 2em;
|
||||
|
|
Loading…
Reference in New Issue
Block a user