what2watch/templates/elements/add_watch_button.html

8 lines
388 B
HTML
Raw Normal View History

2024-01-02 01:27:17 +00:00
<form id="add-watch-{{self.watch}}">
<input type="hidden" name="watch" value="{{self.watch}}">
<input type="hidden" name="public" value="{{self.public}}">
<input type="hidden" name="watched_already" value="{{self.watched_already}}">
<button hx-post="/add/watch" hx-target="#add-watch-{{watch}}" hx-trigger="click" hx-swap="outerHTML">wanna
watch?</button>
</form>