<% error_index = local_assigns[:error_index] || 0 %> <% source_extracts.each_with_index do |source_extract, index| %> <% if source_extract[:code] %>
" id="frame-source-<%= error_index %>-<%= index %>">
Extracted source (around line #<%= source_extract[:line_number] %>):
                <% source_extract[:code].each_key do |line_number| %>
<%= line_number -%>
                <% end %>
              
<% source_extract[:code].each do |line, source| -%>
"><%= source -%>
<% end -%>
<% end %> <% end %>