diff --git a/inventory/templates/fragments/_editor_fragment.html b/inventory/templates/fragments/_editor_fragment.html index e80779f..418423e 100644 --- a/inventory/templates/fragments/_editor_fragment.html +++ b/inventory/templates/fragments/_editor_fragment.html @@ -1,6 +1,6 @@ {% import "fragments/_icon_fragment.html" as icons %} -{% macro dynamic_editor(id, title, mode='edit', content=none, enabled=true, create_url=none, refresh_url=none, +{% macro render_editor(id, title, mode='edit', content=none, enabled=true, create_url=none, refresh_url=none, update_url=none, delete_url=none, field_name=none, record_id=none) %}
{% for update in log.updates %} - {{ editor.dynamic_editor( + {{ editor.render_editor( id = update.id, title = update.timestamp.strftime('%Y-%m-%d %H:%M:%S'), mode = 'view', @@ -238,7 +238,7 @@ ) }} {% endfor %}