|
|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
- valid = (@school_category.valid_child_count || 1) > 0
|
|
|
|
|
|
|
|
|
|
= render 'layouts/school_header'
|
|
|
|
|
|
|
|
|
|
.row
|
|
|
|
|
@ -12,6 +14,7 @@
|
|
|
|
|
= @category.name
|
|
|
|
|
|
|
|
|
|
%p= @category.description
|
|
|
|
|
- if valid
|
|
|
|
|
%p
|
|
|
|
|
- if @school_category.response_count > 0
|
|
|
|
|
%b Total Responses:
|
|
|
|
|
@ -36,13 +39,15 @@
|
|
|
|
|
= @school_category.zscore.round(1) + 3
|
|
|
|
|
(out of 5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%b Valid Children:
|
|
|
|
|
= @school_category.valid_child_count || "N/A"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.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?
|
|
|
|
|
|