delphimvcframework/samples/eluaserversideviews/www/newcustomer.elua

13 lines
307 B
Plaintext
Raw Normal View History

2014-04-01 19:07:43 +02:00
<?lua require 'Lua.html.form'?>
<html>
<body>
2014-04-01 19:39:28 +02:00
<h2>New Customer</h2>
2014-04-01 19:07:43 +02:00
<?lua=html:form_start("myForm", "POST", "/customers") ?>
FirstName: <?lua=html:input("firstName") ?>
<br>
LastName: <?lua=html:input("lastName") ?>
<?lua=html:submit("Save") ?>
<?lua=html:form_end() ?>
</body>
</html>