{{ $slug := ((.Context).Value "params").Slug }} {{ $csrfToken := (.Context).Value "csrfToken" }} {{ $fileData := ((.Context).Value "file-manager").GetFileData $slug }} {{ template "header" . }} {{ if ($fileData).Error }}

Error

{{($fileData).Error}} {{ else }}

File Upload

Uploading file to /{{$slug}}
(file with the same name as your upload will be overwritten!)

{{ end }} {{ template "footer" . }}