Moved form output from controller method to view file.

Suggested by IRC handle bbeng89