Browse Source

[YQTemplate] added enctype to form

main
Annwan 4 months ago
parent
commit
44cd45aaac
  1. 2
      yqform.etlua

2
yqform.etlua

@ -8,7 +8,7 @@
<pre> <pre>
<%=data%> <%=data%>
</pre> </pre>
<form method="POST" action="/cgi/yqtemplate">
<form method="POST" action="/cgi/yqtemplate" enctype="multipart/form-data">
<input type="test" name="name" value="name" /> <input type="test" name="name" value="name" />
<input type="file" name="avatar" value="avatar" /> <input type="file" name="avatar" value="avatar" />
<input type="checkbox" name="isLeader" value="isLeader" /> <input type="checkbox" name="isLeader" value="isLeader" />

Loading…
Cancel
Save