This will produce too much replicated code. I think I'll use a lighter abstraction in things like this.
Attach a file by drag & drop or click to upload