change erb to haml
add ability to edit; change routes; add links