{{define "content"}} {{template "banner" .}} {{with .Record}}

Edit {{.Name}} Customer

{{template "field" (dict "ID" "f_name" "Name" "f_name" "Label" "Name" "Value" .Name "Required" true)}} {{template "field" (dict "ID" "f_domain" "Name" "f_domain" "Label" "Domain" "Value" .Domain)}} {{template "field" (dict "ID" "f_email" "Name" "f_email" "Label" "Email" "Type" "email" "Value" .Email)}} {{template "field" (dict "ID" "f_phone" "Name" "f_phone" "Label" "Phone" "Type" "tel" "Value" .Phone)}} {{template "field-select" (dict "ID" "f_stage" "Name" "f_stage" "Label" "Stage" "Options" (list (dict "Value" "Lead" "Label" "Lead") (dict "Value" "Contacted" "Label" "Contacted") (dict "Value" "Proposal" "Label" "Proposal" "Selected" true) (dict "Value" "Won" "Label" "Won") (dict "Value" "Lost" "Label" "Lost")))}} {{template "field-date" (dict "Name" "f_next_action" "Label" "Next action" "Value" "2026-10-02")}} {{template "field-textarea" (dict "Name" "f_notes" "Label" "Notes" "Value" .Notes "Rows" 4)}} {{template "form-foot" (dict "Submit" "Save changes" "CancelHref" "show.html" "CancelLabel" "Cancel")}}
Delete this customer…

Opens a confirmation page. The change log keeps who deleted it.

{{end}} {{end}}