{% if (action == 'edit' or action == 'new') %}
{% if action == 'edit' %}Edit{% else %}Add{% endif %} page
{% if action == 'edit' %} {% endif %}
{% if not php %}
{% endif %}
{% endif %}