{% if perms.webapp.change_article or article.author == user %}
Update
{% endif %}
{% if perms.webapp.delete_article or article.author == user %}
{% endif %}
Comments
{% url 'comments_add' article_id=article.id as comments_action_url %}
{% include 'partial/form.html' with form=comments_form request_method='post' action_url=comments_action_url %}