<% if issues.size > 0 %>

Total: <%=issues.size%>

<% issues.each_with_index do |issue, i|%>

[<%=i+1%>] <%= issue.name %> ( Severity: <%= issue.severity %> )
In <%= issue.elem %> <% if issue.var%> input <%= issue.var %> <%end%> <% if issue.method %> using <%= issue.method %> <%end%> at <%= issue.url %>.
<% if (issue.variations[0] && issue.variations[0]['response'] && !issue.variations[0]['response'].empty?) && issue.variations[0]['regexp_match'] %>
<% if issue.method && (issue.elem.downcase == 'form' || issue.elem.downcase == 'link' ) && ( issue.method.downcase == 'get' || issue.method.downcase == 'post' ) %>
<% if issue.variations[0]['opts'][:combo]%> <%issue.variations[0]['opts'][:combo].each_pair do |name, value|%> <%end%> <%end%>
<%end%> <%end%>

<%end%> <%else%>

Nothing yet, once something is found you'll be the first to know...

<%end%>