Changed templates/views to HAML format