Port of CE changes for UI changes See merge request gitlab-org/gitlab-ee!9325
Attach a file by drag & drop or click to upload