diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/html5_forms.ur | 12 | ||||
-rw-r--r-- | tests/html5_forms.urs | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/html5_forms.ur b/tests/html5_forms.ur new file mode 100644 index 00000000..2fa5c5c2 --- /dev/null +++ b/tests/html5_forms.ur @@ -0,0 +1,12 @@ +fun handler r = return <xml><body> +</body></xml> + +fun main () = + return <xml><body> + <form> + <textbox{#A} required placeholder="bobby"/> + <textbox{#B} placeholder="soggy" autofocus/> + + <submit action={handler}/> + </form> + </body></xml> diff --git a/tests/html5_forms.urs b/tests/html5_forms.urs new file mode 100644 index 00000000..6ac44e0b --- /dev/null +++ b/tests/html5_forms.urs @@ -0,0 +1 @@ +val main : unit -> transaction page |