Mercurial > urweb
view tests/crypt.ur @ 1835:a8b273f1f7e3
add Placeholder attribute to <password>; change <textbox> code generation to set 'type' to 'text'
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 30 Nov 2012 10:02:13 -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>