view tests/nestedInput.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 9a1547596712
children
line wrap: on
line source
fun main () : transaction page =
    let
        fun handler _ = return <xml/>
    in
        return <xml><body>
          <form>
            <submit action={handler}>Uh oh!</submit>
          </form>
        </body></xml>
    end