view tests/both2.ur @ 2153:39bd1d4007a9

Apply syntax sugar for 'class' attribute to <form> as well
author Adam Chlipala <adam@chlipala.net>
date Mon, 08 Jun 2015 11:11:46 -0400
parents a5eb8f87bc17
children
line wrap: on
line source
fun main () : transaction page =
    let
        fun submit r = return <xml/>
    in
        return <xml>
          <body>
            <form>
              <textbox{#Text}/><submit action={submit}/>
            </form>
          </body>
        </xml>
    end