convert sessions template from HAML to Erb