{{/* The application form (mockup out-app.html): who the login may send as, which client IPs may use it and its own rate limit, in one form with one button. The same form, empty, adds an application; the three parts are checked and saved together or not at all. */}} {{define "content"}} {{template "page_head" .Head}} {{if .Flash}}{{template "flash" .Flash}}{{end}}
{{template "box_open" .Sender}} {{template "body_open"}}

{{template "inline" .LoginHelp}}

One per line. Used only with a list.

{{template "body_close"}} {{template "box_close"}}
{{template "box_open" .IPs}} {{template "body_open"}}

A login from anywhere else is refused with a 4xx at MAIL FROM. A sending control, fail-open — not an authentication boundary.

{{template "body_close"}} {{template "box_close"}}
{{template "box_open" .Limit}} {{template "body_open"}}

{{template "inline" .Rate.AutoHelp}}

{{template "inline" .LimitHelp}}

{{template "body_close"}} {{template "box_close"}}
{{if .Recalc}}{{end}} Cancel
{{end}}