% if error is not None: ${error} % endif
% if not is_xhr(): % endif