diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 01fe32d4..d1905744 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -2,13 +2,14 @@

School Quality Measures Dashboard

A school quality framework with multiple measures that offers a fair and comprehensive - picture of school performance

+ picture of school performance

+ <%= form_with(url: welcome_path, method: :get, data: { turbo_frame: "schools", @@ -16,30 +17,36 @@ controller: "form", action: "change->form#submit" }) do |f| %> - <%= turbo_frame_tag "schools" do %> -
- <% if District.count > 1 %> -
- <%= f.select :district, @districts, + + <%= turbo_frame_tag "schools" do %> +
+ <% if District.count > 1 %> +
+ <%= f.select :district, @districts, {include_blank: "Select a District", selected: params[:district] } , {id: "district-dropdown", class: "form-select", hidden: @districts.count == 1} %> -
- <% end %> -
- <%= f.select :school, @schools, +
+ <% end %> + +
+ <%= f.select :school, @schools, {include_blank: "Select a School", selected: params[:school]}, { id: "school-dropdown", class: "form-select mx-3"} if @schools %> -
- <% if @school.present? %> - <%= link_to "Go", district_school_overview_index_path(@district, @school, {year: @year} ), class: "mx-4 btn btn-secondary" , data: {turbo_frame: "_top"} %> - <% else %> - <%= button_to "Go", "/", class: "mx-4 btn btn-secondary" , data: {turbo_frame: "_top"}, disabled: true %> - <% end %> -
- <% end %> - <% end %> +
+ + <% if @school.present? %> + <%= link_to "Go", district_school_overview_index_path(@district, @school, {year: @year} ), class: "mx-4 btn btn-secondary" , data: {turbo_frame: "_top"} %> + <% else %> + <%= button_to "Go", "/", class: "mx-4 btn btn-secondary" , data: {turbo_frame: "_top"}, disabled: true %> + <% end %> + +
+ <% end %> + <% end %> +
+
@@ -47,9 +54,10 @@
<%= image_tag('framework_wheel.png', alt: 'School Quality Framework Wheel') %>
+

The School Quality Measures Framework aims to describe the full measure of what makes a good - school. The three outer categories are essential inputs to school quality that influence the center two key - outcomes.

+ school. The three outer categories are essential inputs to school quality that influence the center two key + outcomes.

School Quality Measures Framework

@@ -62,7 +70,7 @@

+

@@ -76,7 +84,8 @@
-
+ +

About ECP

Based at the University of Massachusetts - Lowell, ECP seeks to improve the way student learning and school quality are assessed, advancing a valid, democratic, and equitable approach to assessment and accountability. ECP works to accomplish this through free dissemination of the tools designed and piloted within MCIEA. This includes the School Quality Measures (SQM) framework, surveys, and an open-source data dashboard. It also includes the Quality Performance Assessment (QPA) Task Bank, along with accompanying tools and practices. ECP will provide no-cost assistance to Massachusetts public schools and districts interested in SQM or QPA work. ECP also allows schools and districts to move at their own pace and customize their pathway. Partnership with ECP can lead to a district choosing to join MCIEA.