<% messages = h.flash.pop_messages() %> % if messages: % for message in messages:
${message}
% endfor % endif