Files
Kontrollverlust/templates/entry/create.html
T

12 lines
319 B
HTML

<form hx-post="/entry/create" hx-target="#entry-rendertarget" method="post" enctype="multipart/form-data">
<textarea name="content"></textarea>
<input type="file" name="file">
<button type="submit">Beitrag erstellen!</button>
<div>
{% for r in responses %}
{{ r }} <br>
{% endfor %}
</div>
</form>