|
|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
- valid = (@school_category.valid_child_count || 1) > 0
|
|
|
|
|
|
|
|
|
|
= render 'layouts/school_header'
|
|
|
|
|
|
|
|
|
|
.row
|
|
|
|
|
@ -12,37 +14,40 @@
|
|
|
|
|
= @category.name
|
|
|
|
|
|
|
|
|
|
%p= @category.description
|
|
|
|
|
%p
|
|
|
|
|
- if @school_category.response_count > 0
|
|
|
|
|
%b Total Responses:
|
|
|
|
|
= number_with_delimiter(@school_category.response_count)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%b Average Response:
|
|
|
|
|
= @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)
|
|
|
|
|
- if valid
|
|
|
|
|
%p
|
|
|
|
|
- if @school_category.response_count > 0
|
|
|
|
|
%b Total Responses:
|
|
|
|
|
= number_with_delimiter(@school_category.response_count)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%b Valid Children:
|
|
|
|
|
= @school_category.valid_child_count || "N/A"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%b Average Response:
|
|
|
|
|
= @school_category.answer_index_average.round(1)
|
|
|
|
|
(out of 5)
|
|
|
|
|
|
|
|
|
|
- if @school_category.response_count > 0 && @school_category.zscore.present?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.indicator-container.py-3
|
|
|
|
|
= render 'school_categories/indicator', info: @school_category
|
|
|
|
|
- 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
|
|
|
|
|
= render 'school_categories/indicator', info: @school_category
|
|
|
|
|
- else
|
|
|
|
|
.row.py-4
|
|
|
|
|
.col-12.text-center
|
|
|
|
|
.px-2
|
|
|
|
|
%h5 Insufficient Responses
|
|
|
|
|
%p No data is displayed for this measure because of insufficient responses.
|
|
|
|
|
|
|
|
|
|
- unless @school.district.name == "Boston" && @category.slug == "effective-leadership"
|
|
|
|
|
- if @child_school_categories.present?
|
|
|
|
|
|