+BUGFIX: do not load in the whole edit form in inhalte edit. Fetch on demand

This commit is contained in:
Simon Martens
2026-01-16 20:05:04 +01:00
parent d4bdaea2b7
commit 6583114773
5 changed files with 256 additions and 94 deletions

View File

@@ -0,0 +1,20 @@
{{- $content := index . "content" -}}
{{- $entry := index . "entry" -}}
{{- $csrf := index . "csrf_token" -}}
{{- $contentTypes := index . "content_types" -}}
{{- $musenalmTypes := index . "musenalm_types" -}}
{{- $paginationValues := index . "pagination_values" -}}
{{- $contentID := index . "content_id" -}}
{{- template "_content_edit_form" (Dict
"content" $content
"content_id" $contentID
"entry" $entry
"csrf_token" $csrf
"content_types" $contentTypes
"musenalm_types" $musenalmTypes
"pagination_values" $paginationValues
"agents" (index . "agents")
"content_agents" (index . "content_agents")
"agent_relations" (index . "agent_relations")
) -}}