{{define "record_form"}} {{$table := .Table}} {{$meta := .Meta}} {{$values := .Values}} {{$isNew := .IsNew}} {{$id := .ID}} {{template "base_start" (dict "Tables" .Tables "ActiveTable" $table)}}

{{if $isNew}}New Record{{else}}Edit Record{{end}} in {{$table}}

Back
{{template "alert" .}}
{{range $col := $meta.Columns}} {{if not (eq $col.Name "id")}}
{{end}} {{end}}
Cancel
{{template "base_end" .}} {{end}}