Refactored layout panels into a partial (layouts/layout_panel) that accepts parameters.