%ul - branches.each do |branch| %li %a{ href: '#', class: "#{'is-active' if selected == branch}", title: branch, data: { id: branch } } = branch