EE port of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16491
Attach a file by drag & drop or click to upload