- if sentences.any?
- sentences.each do |sentence|
- if sentence.is_a?(GeneratedAxiom)
%li= sentence
- else
%li.has-tooltip{data: {toggle: 'tooltip', placement: 'top'}, title: sentence.text}= link_to sentence, url_for(sentence)
- else