add alt text field

This commit is contained in:
Swrup 2022-01-25 14:07:28 +01:00
parent 7272ede2ca
commit 44bacabfbd
7 changed files with 198 additions and 129 deletions

View file

@ -17,6 +17,9 @@ let f thread_view thread_id request =
<label for="file" id="fileLabel" class="form-label">Picture:</label>
<input id="file" name="file" aria-describedby="fileLabel" type="file" accept="image/*">
<label for="alt" id="altLabel" class="form-label">Image description:</label>
<input name="alt" type="text" class="form-control" id="alt" aria-labelledby="altLabel"></input>
<button type="submit" class="btn btn-primary">Reply</button>
</div>
</form>