Improve view files with erb