Changed haml for slim and added temporal shape index