{{ define "content" }}
{{$update := .Options.Get "update"}} {{if $update}} {{template "breadcrumb" toSlice "Regions" (all "Region") (.Data|string) (.Data.ID|show "Region") "Aggiorna" "current"}} {{else}} {{template "breadcrumb" toSlice "Regions" (all "Region") "Aggiungi" "current"}} {{end}} {{template "add_update_header" dict "update" $update "addTitle" "Crea nuovo ELEMENTO" "updateTitle" (printf "Aggiorna ELEMENTO %s" (.Data|string))}} {{$form := "form_add_update"}}
{{$options := ` { cancelTitle: "Annulla", saveTitle: "Salva", model: "Region" } `}} {{template "submit_cancel_buttons" dict "options" ($options|yaml) "id" (.Data|field "ID") "update" $update}}
{{ end }}