Sha256: 47fc9d13311a59c0c543cb07caa2fe0483d052f7ff324ffc2c71cafe45b7e9c2

Contents?: true

Size: 572 Bytes

Versions: 42

Compression:

Stored size: 572 Bytes

Contents

<% ["GET", "POST", "Session", "Cookies", "SERVER VARIABLES", "Rack ENV"].each do |header|
next unless sections.has_key?(header)
%>
<h3><%=header%></h3>
<table id="request_variables">
  <thead>
    <tr>
      <th>Variable</th>
      <th>Value</th>
    </tr>
  </thead>
  <tbody>
    <% i = 1 %>
    <% sections[header].each do |key, val| %>
      <tr class="<%= i % 2 == 0 ? "even" : "odd" %>">
        <td><%=h key %></td>
        <td class="code"><div>
            <%=h val%>
        </div></td>
      </tr>
      <% i += 1 %>
    <% end %>
  </tbody>
</table>
<% end %>

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
rack-insight-0.6.4 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.6.3 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.6.2 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.30 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.29 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.28 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.27 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.26 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.25 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.24 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.23 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.22 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.21 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.20 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.19 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.18 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.17 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.16 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.15 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.14 lib/rack/insight/views/panels/request_variables.html.erb