Convert slim view to erb