Mercurial > urweb
comparison tests/html5_forms.ur @ 2076:855d7746a084
Remove 'value' attribute of <checkbox>
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 16 Nov 2014 14:06:24 -0500 |
parents | fde864eacd47 |
children | 3cd2bd4b1de0 |
comparison
equal
deleted
inserted
replaced
2075:fde864eacd47 | 2076:855d7746a084 |
---|---|
1 fun handler r = return <xml><body> | 1 fun handler r = return <xml><body> |
2 A: {[r.A]}<br/> | |
3 B: {[r.B]}<br/> | |
4 C: {[r.C]}<br/> | |
2 </body></xml> | 5 </body></xml> |
3 | 6 |
4 fun main () = | 7 fun main () = |
5 return <xml><body> | 8 return <xml><body> |
6 <form> | 9 <form> |
7 <textbox{#A} required placeholder="bobby"/> | 10 <textbox{#A} required placeholder="bobby"/> |
8 <textbox{#B} placeholder="soggy" autofocus/> | 11 <textbox{#B} placeholder="soggy" autofocus/> |
12 <checkbox{#C}/> | |
9 | 13 |
10 <submit action={handler}/> | 14 <submit action={handler}/> |
11 </form> | 15 </form> |
12 </body></xml> | 16 </body></xml> |