{% load iepy_tags %} {% for segment in segments %}
{% for rich_token in segment.rich_tokens %} {% if rich_token.eo_ids %} 1 %} data-dropdown="eo-hover-{{ forloop.counter }}" data-options="is_hover:true" {% else %} ng-right-click="manage_eo({{ rich_token.eo_ids.0 }}, {{segment.id}})" data-eo-id="{{ rich_token.eo_ids.0 }}" {% endif %} > {% else %} {% endif %} {% if rich_token.eo_ids|length > 1 %}
[{{ rich_token.eo_ids|length }}]
{% endif %} {{ rich_token.pos }} {{ rich_token.token }}
{% if rich_token.eo_ids|length > 1 %} {% endif %} {% endfor %}
{% endfor %}