bigly-chat/views/form.ejs
2024-09-18 18:47:09 -04:00

11 lines
No EOL
487 B
Text

<%- include('header.ejs') -%>
<form enctype='multipart/form-data' method='POST' action='<%= route %>'>
<div class='form-message'></div>
<% for (let elem of data) { %>
<span class='form-entry'> <span class='form-key'>
<%= elem.label %>
</span> <input type='<%= elem.type %>' name='<%= elem.name %>'></span>
<% } %>
<input type='Submit' name='Submit'>
</form>
<%- include('footer.ejs') -%>