+
+ {{/* ── Title row ── */}}
+
+
+ {{/* ── Paste input area ── */}}
+
+
+
+
+ {{/* ── Optional title ── */}}
+
+
+
+
+ {{/* ── Settings row ── */}}
+
+
+ {{/* Download/view limit */}}
+
+
+ {{/* Expiry */}}
+
+
+ {{/* Password */}}
+
+
+ {{/* Submit */}}
+
+
+
+
+
+
+
+
Toast Text
+
+
+
+ {{/* ── Paste table ── */}}
+
+
+
+
+ | Title |
+ Created |
+ Views |
+ Expires |
+ Views remaining |
+ {{ if .ActiveUser.HasPermissionListOtherUploads }}
+ User |
+ {{ end }}
+ Actions |
+
+
+
+{{ range .Pastes }}
+
+ | {{ .Name }} |
+
+
+ |
+
+ {{ .DownloadCount }}
+ |
+
+
+ |
+
+ {{ if .UnlimitedDownloads }}Unlimited{{ else }}{{ .DownloadsRemaining }}{{ end }}
+ |
+ {{ if $.ActiveUser.HasPermissionListOtherUploads }}
+ {{ (index $.UserMap .UploaderId).Name }} |
+ {{ end }}
+
+
+
+
+
+ |
+
+{{ end }}
+
+
+
+
+
+