Move gadget into portal_skin to reuse code to render forms like we do for normal user.
Attach a file by drag & drop or click to upload