delphimvcframework/samples/eluaserversideviews/www/newcustomer.elua
2014-04-01 17:39:28 +00:00

13 lines
307 B
Plaintext

<?lua require 'Lua.html.form'?>
<html>
<body>
<h2>New Customer</h2>
<?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>