Mercurial > urweb
view tests/crypt.ur @ 1943:3ecd0b6360eb
Change where a transaction is marked finished, to avoid forgetting to rollback a failed transaction
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 27 Dec 2013 12:30:44 -0500 |
parents | a5bfed32d4f7 |
children |
line wrap: on
line source
fun cryptIt r = return <xml><body> {[crypt r.Pass "AB"]} </body></xml> fun main () = return <xml><body> <form><textbox{#Pass}/> <submit action={cryptIt}/></form> </body></xml>