<% if (error) { %> <%= error %> <% } %>
or you can move in here.