google-labs-jules[bot]
Fix README header format
7235cc7
Raw History Blame Contribute Delete
1.28 kB
<%- include('header') %>
<div class="tableh1">Upload Picture</div>
<div class="tableb">
<form action="/upload" method="POST" enctype="multipart/form-data">
<table class="form-table">
<tr>
<td><label for="aid">Album:</label></td>
<td>
<select name="aid" id="aid" required>
<% albums.forEach(alb => { %>
<option value="<%= alb.aid %>"><%= alb.title %></option>
<% }) %>
</select>
</td>
</tr>
<tr>
<td><label for="userfile">File:</label></td>
<td><input type="file" name="userfile" id="userfile" accept="image/*" required></td>
</tr>
<tr>
<td><label for="title">Title:</label></td>
<td><input type="text" name="title" id="title"></td>
</tr>
<tr>
<td><label for="caption">Caption / Description:</label></td>
<td><textarea name="caption" id="caption" rows="3"></textarea></td>
</tr>
<tr>
<td><label for="keywords">Keywords:</label></td>
<td><input type="text" name="keywords" id="keywords"></td>
</tr>
<tr>
<td></td>
<td><button type="submit" class="btn">Upload File</button></td>
</tr>
</table>
</form>
</div>
<%- include('footer') %>