Files
ltx/.lifetracker-python/templates/forms/update-entry.html
T
2023-05-15 13:36:16 -04:00

14 lines
327 B
HTML

<td class="activity-{{hour.activity.code}}">
<input
id="update-hour-{{hour.hour_id}}"
class="update-entry-form"
type="text"
value="{{hour.activity.code}}"
hx-trigger="change"
hx-post="/update-entry"
>
</input>
</td>
<script language="javascript">
document.querySelector("#update-hour-{{hour.hour_id}}").focus()
</script>