reformat to match ruby style guide and move to .erb instead of .in