Converted most views to HAML format