{% load horizon %} {% if row_actions|length > 1 %}
{% for action in row_actions %} {% if forloop.first %} {% include "horizon/common/_data_table_row_action.html" %} {% endif %} {% endfor %}
{% endif %} {% if row_actions|length == 1%} {% for action in row_actions %} {% include "horizon/common/_data_table_row_action.html" %} {% endfor %} {% endif %}