modify checkbox text in notes
This commit is contained in:
@@ -61,9 +61,15 @@
|
||||
{% if item.is_done %}checked{% endif %}
|
||||
onchange="this.form.submit()"
|
||||
aria-label="Mark '{{ item.text }}' as done">
|
||||
<span class="item-text">{{ item.text }}</span>
|
||||
<noscript><button type="submit">[ Update ]</button></noscript>
|
||||
</form>
|
||||
<form method="post"
|
||||
action="{{ url_for('notes_update_item', note_id=note.id, item_id=item.id) }}"
|
||||
class="item-edit-form">
|
||||
<input type="text" name="text" value="{{ item.text }}"
|
||||
maxlength="255" required aria-label="Checklist item text">
|
||||
<button type="submit">[ Save ]</button>
|
||||
</form>
|
||||
<form method="post"
|
||||
action="{{ url_for('notes_delete_item', note_id=note.id, item_id=item.id) }}"
|
||||
class="item-delete-form">
|
||||
|
||||
Reference in New Issue
Block a user