<%= ts("Prompts for %{collection}", :collection => @collection.title) %>
<% if @collection.user_is_maintainer?(current_user) %>
-
<%= link_to ts("Download (CSV)"), collection_signups_path(@collection, format: :csv) %>
<%= link_to_help "csv-download" %>
<% end %>
- <%= ts("Sort By") %>
<% if @show_request_fandom_tags %>
<% @collection.prompts.each do |f| %>
<% if f.tag_groups.include?("Fandom") %>
- <%= sort_link ts("Fandom #{@collection.challenge.request_restriction.allowed("fandom")}"), :fandom %>
<% break %>
<% end %>
<% end %>
<% end %>
<% unless @collection.prompts.where(:anonymous => true).exists? %>
- <%= sort_link ts("Prompter"), :prompter %>
<% end %>
- <%= sort_link ts("Date"), :created_at %>
<%= will_paginate @requests %>
<% @requests.each do |request| %>
<% # here we render each prompt as a blurb %>
<%= render "prompts/prompt_blurb", :prompt => request %>
<% end %>
<%= will_paginate @requests %>