_list.html.haml revision 64ee02553e8d41243c9d255192fde605827f34c3
%thead
%tr
%th Text
- if @show_name_column
%th Name
%tbody
- collection.each do |entity|
%tr
- if @show_name_column
%td= entity.text
%td= entity.name
- else
- if entity.display_name
%td= iri_tooltip(entity, entity.display_name)
- else
%td= name_highlighter(entity)