19 lines
435 B
Bash
19 lines
435 B
Bash
page-title = 'Form Test'
|
|
|
|
div margin='0 auto' width='50%':
|
|
h2 color=blue page-title
|
|
form method=POST action=/form:
|
|
label for=name 'Name:'
|
|
input type=text name=name placeholder='Your name' value=params.name
|
|
br ; br
|
|
label for=age 'Age:'
|
|
select name=age:
|
|
range 14 100 | list.reverse | list.map do i:
|
|
option value=i i
|
|
end
|
|
end
|
|
br ; br
|
|
input type=submit
|
|
input type=reset
|
|
end
|
|
end |