{% import "common_elements.html" as common_elements %} {% macro render_comment(comment, include_avatar) %}
{% if include_avatar %} {% endif %}
{{ comment['author'] }}
{{ common_elements.text_runs(comment['text']) }}
{{ comment['view_replies_text'] }} {% if 'delete_url' is in comment %} Delete {% endif %}
{% endmacro %} {% macro video_comments(comments_info) %}
{% for comment in comments_info['comments'] %} {{ render_comment(comment, comments_info['include_avatars']) }} {% endfor %}
{% if 'more_comments_url' is in comments_info %} More comments {% endif %} {% endmacro %} {% macro comment_posting_box(info) %}
Add account
{% if info['include_video_id_input'] %} {% endif %}
{% endmacro %}