{{define "title"}}{{.Title}}{{end}} {{define "content"}}

Settings

{{if .Data.Saved}} {{template "callout" dict "Tone" "positive" "Body" "Saved."}} {{end}} {{with .Data.Error}} {{template "callout" dict "Tone" "negative" "Body" . "Alert" true}} {{end}} {{if .Data.Undeliverable}} {{/* Stated rather than hidden. A reminder that gave up is a reminder somebody is still expecting. */}} {{template "callout" dict "Tone" "warning" "Title" "Some reminders could not be delivered" "Body" "They were retried and then given up on, so they will not arrive. Check that this address accepts mail from this instance."}} {{end}}
{{template "field-select" dict "ID" "zone" "Name" "zone" "Label" "Your time zone" "Options" (zoneOptions .Data.Person.Zone) "Hint" "Every time on the calendar is shown in this zone. It is never guessed from your browser: a calendar that silently re-times itself because you opened it on holiday is a calendar that lies."}} {{template "field" dict "ID" "handle" "Name" "handle" "Label" "Your handle" "Value" .Data.Person.Handle "Placeholder" "paul" "Autocomplete" "off" "Help" "Lowercase letters, digits and dashes. It is the first part of every booking link you share, so changing it changes the links." "Error" (if_eq .Data.ErrorField "handle" .Data.Error)}}

Booking pages →

{{template "field-select" dict "ID" "week_start" "Name" "week_start" "Label" "Weeks start on" "Options" (weekStartOptions .Data.Person.WeekStart)}} {{template "field-select" dict "ID" "default_reminder_min" "Name" "default_reminder_min" "Label" "Remind me about timed events" "Options" (list (dict "Value" "0" "Label" "Not by default" "Selected" (eq .Data.Person.DefaultReminderMin 0)) (dict "Value" "5" "Label" "5 minutes before" "Selected" (eq .Data.Person.DefaultReminderMin 5)) (dict "Value" "10" "Label" "10 minutes before" "Selected" (eq .Data.Person.DefaultReminderMin 10)) (dict "Value" "30" "Label" "30 minutes before" "Selected" (eq .Data.Person.DefaultReminderMin 30)) (dict "Value" "60" "Label" "1 hour before" "Selected" (eq .Data.Person.DefaultReminderMin 60)))}} {{template "field-select" dict "ID" "default_all_day_min" "Name" "default_all_day_min" "Label" "Remind me about all-day events" "Hint" "A birthday you hear about at midnight is a birthday you have half missed." "Options" (list (dict "Value" "0" "Label" "Not by default" "Selected" (eq .Data.Person.DefaultAllDayMin 0)) (dict "Value" "360" "Label" "The evening before" "Selected" (eq .Data.Person.DefaultAllDayMin 360)) (dict "Value" "1440" "Label" "A day before" "Selected" (eq .Data.Person.DefaultAllDayMin 1440)))}} {{template "form-foot" dict "Submit" "Save" "CancelHref" "/today" "CancelLabel" "Cancel"}}
{{end}}