{{ $slug := ((.Context).Value "params").Slug }} {{ $dest := .FormValue "dest" }} {{ $name := .FormValue "filename" }} {{ $moveError := ((.Context).Value "file-manager").Rename $slug $dest $name }} {{ template "header" . }} {{ if $moveError }}