Fk10 - file and image upload functionality

Extract this into a partial. Include this partial in views/templates where it is needed.