eliminating duplication with layouts using ERb