{{ 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 `class="w3-input w3-border"` }}

{{ widget_checkboxes "Notebooks" "Notebooks" .item.Notebooks .notebooks `class="w3-check"` }}

{{ 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_select "Categories" "Categories" .item.Categories .categories `multiple="true" class="w3-input w3-border"` }}

On dashboard

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

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

{{ if not (eq .item.Id 0) }} {{ end }}
{{ end }}