2023-12-31 00:59:27 +00:00
|
|
|
<tr id="watchlist-item-{{watch.id}}">
|
|
|
|
<td><span class="watchtitle">{{watch.title}}</span></td>
|
|
|
|
<td>{{watch.kind}}</td>
|
|
|
|
<td> {% call m::get_or_default(watch.year(), "when??") -%}</td>
|
2023-12-31 21:55:16 +00:00
|
|
|
<td>
|
|
|
|
<form id="add-watch-{{watch.id}}">
|
|
|
|
<input type="hidden" name="watch" value="{{watch.id}}">
|
|
|
|
<input type="hidden" name="public" value="true">
|
|
|
|
<input type="hidden" name="watched_already" value="false">
|
|
|
|
<button hx-post="/add/watch" hx-target="#add-watch-{{watch.id}}" hx-trigger="click"
|
|
|
|
hx-swap="OuterHTML">wanna watch?</button>
|
|
|
|
</form>
|
|
|
|
</td>
|
2023-12-31 00:59:27 +00:00
|
|
|
</tr>
|