{% macro pageHeader(title, subtitle, actions) %}
<div class="page-header">
    <h1 class="page-title">{{ title }}</h1>
    {% if subtitle %}
        <p class="page-subtitle">{{ subtitle }}</p>
    {% endif %}
    {% if actions is defined and actions|length > 0 %}
        <div class="page-actions">
            {% for action in actions %}
                <a href="{{ path(action.path) }}" class="btn {{ action.class }}">{{ action.label }}</a>
            {% endfor %}
        </div>
    {% endif %}
</div>
{% endmacro %}
