Browse Source

[YQTemplate] Add Labels and line breaks to form.

main
Annwan 4 months ago
parent
commit
7e92d042a5
  1. 12
      yqform.etlua

12
yqform.etlua

@ -10,9 +10,13 @@
<%=data%>
</pre>
<form method="POST" action="/cgi/yqtemplate" enctype="multipart/form-data">
<input type="test" name="name" value="name" />
<input type="file" name="avatar" value="avatar" />
<input type="checkbox" name="isLeader" value="isLeader" />
<label for="name">Name</label>
<input type="test" name="name" value="name" /><br />
<label for="avatar">Portrait</label>
<input type="file" name="avatar" value="avatar" /><br />
<label for="isLeader">Party Leader</label>
<input type="checkbox" name="isLeader" value="isLeader" /><br />
<label for="class1">Class</label>
<select name="class1" id="class1">
<option value="1">Beast</option>
<option value="2">Swordsman</option>
@ -25,7 +29,7 @@
<option value="9">Mounted Fighter</option>
<option value="10">Fruit Animal</option>
<option value="11">Spellcaster</option>
</select>
</select><br/>
<input type="submit" value="Generate">
</form>
<hr />

Loading…
Cancel
Save