converted pictures show, edit, new, index to haml