Converted erb to haml. Cleaned up flash/notices, and removed hard code.