2024-05-19 21:37:12 -04:00
|
|
|
{% load i18n %}
|
2025-01-20 15:18:14 -05:00
|
|
|
<form hx-post="{% url 'journal:collection_update_item_note' collection.uuid item.uuid %}">
|
|
|
|
<input name="note" value="{{ collection_member.note|default:'' }}">
|
2024-05-20 23:17:47 -04:00
|
|
|
<input type="submit" style="width:unset;" value="{% trans "Update" %}">
|
2023-05-20 11:01:18 -04:00
|
|
|
<button style="width:unset"
|
2025-01-20 15:18:14 -05:00
|
|
|
hx-get="{% url 'journal:collection_update_item_note' collection.uuid item.uuid %}?cancel=1"
|
|
|
|
hx-target="closest form"
|
|
|
|
hx-swap="outerHTML">{% trans "Cancel" %}</button>
|
2023-05-20 11:01:18 -04:00
|
|
|
</form>
|