Mercurial Hosting > luan
diff website/src/examples/hi2_simply_html.luan @ 497:55f9f74f1e55
Http.request is now pure luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 May 2015 19:25:47 -0600 |
parents | 598123096772 |
children | 92c3d22745b8 |
line wrap: on
line diff
--- a/website/src/examples/hi2_simply_html.luan Sat May 16 20:19:05 2015 -0600 +++ b/website/src/examples/hi2_simply_html.luan Sun May 17 19:25:47 2015 -0600 @@ -5,7 +5,7 @@ local function form() %> <form> - <label>What is you name?</label> + <label>What is your name?</label> <input name="name" margin-bottom="1em"> <input type=submit> </form> @@ -19,7 +19,7 @@ function respond() Io.stdout = Http.response.text_writer() - name = Http.request.parameters.name + name = Http.request.parameter.name %> <html> <head>