i12e/htmx/templates/entry_row.html

12 lines
330 B
HTML
Raw Normal View History

2022-03-21 00:08:20 +01:00
<tr>
<th>
{{name}}
</th>
<td>
{% for e in entries %}
<input name="band_{{code}}_{{e.id}}" value="{{e.band}}" hx-trigger="change" hx-post="/update_entries" hx-swap="outerHTML">
{% endfor %}
<input name="band_{{code}}_new" hx-trigger="change" hx-post="/update_entries" hx-swap="outerHTML">
</td>
</tr>