mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-05 11:05:31 +00:00
+BUGFIX: do not load in the whole edit form in inhalte edit. Fetch on demand
This commit is contained in:
20
views/routes/almanach/contents/edit_form/body.gohtml
Normal file
20
views/routes/almanach/contents/edit_form/body.gohtml
Normal 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")
|
||||
) -}}
|
||||
Reference in New Issue
Block a user