<% if peek_enabled? %>
<div id="peek" class="<%= Peek.env %><%= ' disabled' if cookies[:peek] == 'false' %>">
  <div class="wrapper">
    <% Peek.views.each do |view| %>
      <div id="<%= view.dom_id %>" class="view">
        <%= render view.partial_path, :view => view %>
      </div>
    <% end %>
  </div>
</div>
<% end %>

<% if peek_enabled? %>
<div id="peek" data-request-id="<%= Peek.request_id %>" class="<%= Peek.env %><%= ' disabled' if cookies[:peek] == 'false' %>">
  <div class="wrapper">
    <% Peek.views.each do |view| %>
      <div id="<%= view.dom_id %>" class="view">
        <%= render view.partial_path, :view => view %>
      </div>
    <% end %>
  </div>
</div>
<% end %>

Insert the request id into the peek div
Insert the request id into the peek div
