.tab-pane.fade{ role: 'tabpanel', id: 'comments' } - comments.each do |a| = render 'answerbox', a: a