Add refresh_url and field_name parameters to update rendering in worklog template

This commit is contained in:
Yaro Kasear 2025-08-19 16:24:26 -05:00
parent 42b87d08cc
commit 21dc8c71fc

View file

@ -233,8 +233,10 @@
id = update.id,
title = update.timestamp.strftime('%Y-%m-%d %H:%M:%S'),
mode = 'view',
content = update.content,
enabled = not log.complete
enabled = not log.complete,
refresh_url = url_for('ui.get_value', model_name='work_note'),
field_name = 'content',
record_id = update.id
) }}
{% endfor %}
<template id="editor-template">