what2watch/templates/watch-search-result.html

15 lines
633 B
HTML
Raw Normal View History

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>
<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>