Moved @titles into templates + fixed get_handin error

Does this work?  My first guess is that this would display the ERB instead of the email.  We might need string insertion/concatenation instead