tweaking styles

pull/1/head
Jared Cosulich 7 years ago
parent 67e7fea2a0
commit 4241f3f7df

@ -31,6 +31,8 @@
%p No data is displayed for this question because of 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)}" -#%p= "Responded: #{aggregated_responses.count}, Possible: #{@school.available_responders_for(question)}"
%p= "Source: #{question.for_teachers? ? "Teachers" : "Students"}" %p= "Source: #{question.for_teachers? ? "Teachers" : "Students"}"
%br
%br
- if valid_responses - if valid_responses
.clearfix .clearfix

@ -567,7 +567,8 @@ end
# school_category.update( # school_category.update(
# valid_child_count: school_question_data.valid_child_count, # valid_child_count: school_question_data.valid_child_count,
# response_count: school_question_data.response_count, # response_count: school_question_data.response_count,
# answer_index_total: school_question_data.response_total # answer_index_total: school_question_data.response_total,
# zscore: (school_question_data.response_total.to_f/school_question_data.response_count.to_f) - 3.to_f
# ) # )
# end # end
# end # end
@ -588,7 +589,8 @@ end
# school_category.update( # school_category.update(
# valid_child_count: valid_children.count, # valid_child_count: valid_children.count,
# response_count: valid_children.sum(&:response_count), # response_count: valid_children.sum(&:response_count),
# answer_index_total: valid_children.sum(&:answer_index_total) # answer_index_total: valid_children.sum(&:answer_index_total),
# zscore: (valid_children.sum(&:answer_index_total).to_f / valid_children.sum(&:response_count).to_f) - 3.to_f
# ) # )
# puts "" # puts ""
# puts "" # puts ""

Loading…
Cancel
Save