<% } %>
<% if(typeof success_msg !== 'undefined' && success_msg.length > 0) { %>
<%= success_msg %>
<% } %>
<% if(typeof error_msg !== 'undefined' && error_msg.length > 0) { %>
<%= error_msg %>
<% } %>
<% if(typeof error !== 'undefined' && error.length > 0) { %>
<%= error %>
<% } %>
<%- typeof body !== 'undefined' ? body : '' %>