{%if message.confirmJavascript%}
{# this will add the javascript method action#}
{%elif message.confirm%}
{# this will add the call to the python function action#}
{%endif%}
{%if message.denyJavascript%}
{# this will add the javascript method action#}
{%elif message.deny%}
{# this will add the call to the python function action#}
{%endif%}