Sha256: 2f825d9f55d81df41b5ff5b44632838b5f65788c22677011ce3f27b00322af17

Contents?: true

Size: 929 Bytes

Versions: 196

Compression:

Stored size: 929 Bytes

Contents

<% @source_extracts.each_with_index do |source_extract, index| %>
  <% if source_extract[:code] %>
    <div class="source <%="hidden" if @show_source_idx != index%>" id="frame-source-<%=index%>">
      <div class="info">
        Extracted source (around line <strong>#<%= source_extract[:line_number] %></strong>):
      </div>
      <div class="data">
        <table cellpadding="0" cellspacing="0" class="lines">
          <tr>
            <td>
              <pre class="line_numbers">
                <% source_extract[:code].each_key do |line_number| %>
<span><%= line_number -%></span>
                <% end %>
              </pre>
            </td>
<td width="100%">
<pre>
<% source_extract[:code].each do |line, source| -%><div class="line<%= " active" if line == source_extract[:line_number] -%>"><%= source -%></div><% end -%>
</pre>
</td>
          </tr>
        </table>
      </div>
    </div>
  <% end %>
<% end %>

Version data entries

196 entries across 194 versions & 15 rubygems

Version Path
jets-1.5.5 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
jets-1.5.4 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
jets-1.5.3 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
jets-1.5.2 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
jets-1.5.1 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
jets-1.5.0 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.2.2 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.2.2.rc1 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.2.1.1 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.1.6.1 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.0.7.1 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-4.2.11 lib/action_dispatch/middleware/templates/rescues/_source.erb
actionpack-5.2.1 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.2.1.rc1 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.2.0 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.1.6 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.0.7 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.2.0.rc2 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.1.5 lib/action_dispatch/middleware/templates/rescues/_source.html.erb
actionpack-5.1.5.rc1 lib/action_dispatch/middleware/templates/rescues/_source.html.erb