summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2017-07-27 20:08:01 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2017-07-27 20:08:01 -0400
commit53dbce6998e78ddcb05693c7efdca101075941b0 (patch)
tree47a23272286ae461fcaa4c3fe89c22bbf9015359 /tests
parent34196bdad72334f9d8f809d6c9f564667f6011d4 (diff)
Fix last fix, to handle checkboxes properly
Diffstat (limited to 'tests')
-rw-r--r--tests/slashform.ur3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/slashform.ur b/tests/slashform.ur
index d5993a36..63591886 100644
--- a/tests/slashform.ur
+++ b/tests/slashform.ur
@@ -1,8 +1,9 @@
-fun handler f = return <xml>{[f.F1]} {[f.F2]}</xml>
+fun handler f = return <xml>{[f.F1]} {[f.F2]} {[f.F3]}</xml>
val main = return <xml><body><form>
<textbox{#F1}/>
<textarea{#F2}/>
+ <checkbox{#F3}/>
<upload{#File}/>
<submit action={handler}/>
</form></body></xml>