{% load staticfiles %} Golem chatbot
{% for m in messages %}
{% if m.is_response %} {% endif %}
{{ m.text }}
{% for e in m.get_elements %}

{{ e.title }}

{{ e.subtitle }}

{% for b in e.buttons %} {% endfor %}
{% endfor %}
{% for b in m.get_buttons %} {% if b.action == 'link' %} {% elif b.action == 'reply' %} {% elif b.action == 'postback' %} {% endif %} {% endfor %}
[{{ m.get_time }}] {% if not m.is_response %} {% endif %}
{% endfor %}