|
|
@ -8,8 +8,22 @@ local form = etlua.compile[[ |
|
|
|
<body> |
|
|
|
<%= data %> |
|
|
|
<form action="/cgi/yqtemplate" method="post"> |
|
|
|
<label for="name">Character name</label> |
|
|
|
<input type="text" id="name" /> |
|
|
|
<label for="name">Character name:</label> |
|
|
|
<input type="text" id="name" name="name" /><br> |
|
|
|
<label for="class1">Class 1:</label> |
|
|
|
<select name=class1 id=class1> |
|
|
|
<option value=1>Beast</option> |
|
|
|
<option value=2>Swordsman</option> |
|
|
|
<option value=3>Spirit Bird</option> |
|
|
|
<option value=4>Twin Blades</option> |
|
|
|
<option value=5>Healer</option> |
|
|
|
<option value=6>Summoner</option> |
|
|
|
<option value=7>Tamer</option> |
|
|
|
<option value=8>Pugilist</option> |
|
|
|
<option value=9>Mounted Fighter</option> |
|
|
|
<option value=10>Fruit Animal</option> |
|
|
|
<option value=11>Spellcaster</option> |
|
|
|
</select> |
|
|
|
<input type="submit" value="Generate"> |
|
|
|
</form> |
|
|
|
<hr /> |
|
|
|