From f4542c7a20b6da235a671717a178e4b78dd9a093 Mon Sep 17 00:00:00 2001 From: Jared Cosulich Date: Mon, 4 Mar 2019 15:17:04 -0500 Subject: [PATCH] secret param to see possible attempts --- app/views/questions/_question.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/questions/_question.html.haml b/app/views/questions/_question.html.haml index e673b769..bebe1764 100644 --- a/app/views/questions/_question.html.haml +++ b/app/views/questions/_question.html.haml @@ -30,7 +30,8 @@ %br %h5 Insufficient Responses %p No data is displayed for this question because of insufficient responses. - -#%p= "Responded: #{aggregated_responses.count}, Possible: #{@school.available_responders_for(question)}" + - if params.include?(:show_possible) + %p= "Responded: #{aggregated_responses.count}, Possible: #{@school.available_responders_for(question)}" %p= "Source: #{question.for_teachers? ? "Teachers" : "Students"}" %br