Mercurial Hosting > luan
comparison website/src/examples/upload-and-email.html.luan @ 1931:28cd9b3abdb3
add lang
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 02 May 2025 10:24:38 -0600 |
| parents | 50e570b598b2 |
| children |
comparison
equal
deleted
inserted
replaced
| 1930:2b5eccebddd9 | 1931:28cd9b3abdb3 |
|---|---|
| 11 }.send | 11 }.send |
| 12 | 12 |
| 13 local function form() | 13 local function form() |
| 14 %> | 14 %> |
| 15 <!doctype html> | 15 <!doctype html> |
| 16 <html> | 16 <html lang="en"> |
| 17 <body> | 17 <body> |
| 18 <h1>Upload and Email</h1> | 18 <h1>Upload and Email</h1> |
| 19 <form method="post" enctype="multipart/form-data"> | 19 <form method="post" enctype="multipart/form-data"> |
| 20 <p>Email: <input name=email></p> | 20 <p>Email: <input name=email></p> |
| 21 <p><input type=file name=file></p> | 21 <p><input type=file name=file></p> |
| 27 end | 27 end |
| 28 | 28 |
| 29 local function sent() | 29 local function sent() |
| 30 %> | 30 %> |
| 31 <!doctype html> | 31 <!doctype html> |
| 32 <html> | 32 <html lang="en"> |
| 33 <body> | 33 <body> |
| 34 <h1>Upload and Email</h1> | 34 <h1>Upload and Email</h1> |
| 35 <p>file sent</p> | 35 <p>file sent</p> |
| 36 </body> | 36 </body> |
| 37 </html> | 37 </html> |
