Instead of rendering it in a helper we extracted everything to HAML.
Attach a file by drag & drop or click to upload