<p>
  Data for this Agent is available at these URLs:
</p>


<ul>
  <% @agent.options['secrets'].each do |secret| %>
    <% url = lambda { |format| web_requests_url(:agent_id => @agent.id, :user_id => current_user.id, :secret => secret, :format => format) } %>
    <li><%= link_to url.call(:json), url.call(:json), :target => :blank %></li>
    <li><%= link_to url.call(:xml), url.call(:xml), :target => :blank %></li>
  <% end %>
</ul>
