{{template "base" .}} {{define "title"}}{{.Title}}{{end}} {{- define "page_body"}}

{{if .IsAdd}}Add a new share{{else}}Edit share{{end}}

{{- template "errmsg" .Error}}
For scope "Write" and "Read&Write" you have to define one path and it must be a directory

Paths

{{- range $idx, $val := .Share.Paths}} {{- else}} {{- end}}
If set the share will be password-protected
Maximum number of times this share can be accessed. 0 means no limit
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"
{{- end}} {{- define "extra_js"}} {{- end}}