{% load prop %}
{% for name,type in columns %} {% endfor %}
{% if forloop.first %}
 
{% endif %} {{item|prop:type}}
{% for button in buttons %} {% if button.text %} {% else %} {% endif %} {% if button.text %} {% endif %} {% endfor %}