1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{# Params error Error message to display container (optional) id for a div to wrap the error message in #} {% if container %} <div id="{{ container }}"> {% endif %} <h2>Error</h2> {{ error }} {% if container %} </div> {% endif %}