|
|
|
@ -15,30 +15,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
%p= @category.description
|
|
|
|
%p= @category.description
|
|
|
|
- if valid
|
|
|
|
- if valid
|
|
|
|
%p
|
|
|
|
-# %p
|
|
|
|
- if @school_category.response_count > 0
|
|
|
|
-# - if @school_category.response_count > 0
|
|
|
|
%b Total Responses:
|
|
|
|
-# %b Average:
|
|
|
|
= number_with_delimiter(@school_category.response_count)
|
|
|
|
-# - likert = @school_category.answer_index_average
|
|
|
|
|
|
|
|
-# - zscore = @school_category.zscore.present? ? @school_category.zscore + 3 : nil
|
|
|
|
|
|
|
|
-# - likert = zscore if zscore.present?
|
|
|
|
|
|
|
|
-# - likert = likert.round(1)
|
|
|
|
%b Average Response:
|
|
|
|
-# = number_with_delimiter(likert)
|
|
|
|
= @school_category.answer_index_average.round(1)
|
|
|
|
|
|
|
|
(out of 5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- if @school_category.response_count > 0 && @school_category.zscore.present?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- if @school_category.zscore.present?
|
|
|
|
|
|
|
|
%b Administrative Data:
|
|
|
|
|
|
|
|
- if @school_category.nonlikert.present?
|
|
|
|
|
|
|
|
= @school_category.nonlikert
|
|
|
|
|
|
|
|
= "(Benchmark: #{@school_category.category.benchmark})"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- if @school_category.zscore.present?
|
|
|
|
|
|
|
|
= @school_category.zscore.round(1) + 3
|
|
|
|
|
|
|
|
(out of 5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.indicator-container.py-3
|
|
|
|
.indicator-container.py-3
|
|
|
|
= render 'school_categories/indicator', info: @school_category
|
|
|
|
= render 'school_categories/indicator', info: @school_category
|
|
|
|
|