{{ define "page:content" }} {{ $fields_present := false }} {{ if (gt (len (index .item.FieldsSection "fields")) 0) }} {{ $fields_present = true }} {{ end }}
General {{ if $fields_present }} Fields {{ end }} Relations

{{ widget_select "Type_id" "Type" .item.Type_id .types `style="width: 100%"` }}

{{ widget_checkboxes "Notebooks" "Notebooks" .item.Notebooks .notebooks `` }}

{{ template "items:fields" (map "FieldsSection" .item.FieldsSection "FieldsValues" .item.FieldsValues "uisection" "general")}}
{{ if eq .item.Type_show_summary 1}}

{{ end }} {{ if eq .item.Type_show_description 1}}

{{ end }}

{{ widget_slim_select "Categories" "Categories" .item.Categories .categories `multiple="true"` }}

{{ if $fields_present }} {{ end }}

{{ if not (eq .item.Id 0) }} View Delete Share {{ end }} Back

{{ end }}