add trailing newline to index.html.erb
note that we didn't cover some input types