{% if action %}
{% if action == 'edit' %} {% endif %}

{% if action == 'edit' %}Edit{% else %}Add{% endif %} news

{% if action == 'edit' %} {% if player is defined %}
{% endif %} {% endif %}
{% if action != 'edit' %}
{% elseif comments is not null %} {% endif %}
{% for id, cat in categories %} {% endfor %}
{% if action != 'edit' %} {% endif %} {% endif %}