change erb to haml
copy from other repo.(study)