From cf50c43109b75b355bfe90e7703c0b5d3f378c0f Mon Sep 17 00:00:00 2001 From: Nelson Jovel Date: Thu, 20 Jun 2024 10:50:54 -0700 Subject: [PATCH] feat: add links from the analyze page to the browse page --- app/views/analyze/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/analyze/index.html.erb b/app/views/analyze/index.html.erb index c61265f5..fc4342c7 100644 --- a/app/views/analyze/index.html.erb +++ b/app/views/analyze/index.html.erb @@ -18,7 +18,7 @@
<% @presenter.measures.each do |measure| %>
-

Measure <%= measure.measure_id %>

+ <%= link_to("MEASURE " + measure.measure_id.upcase, district_school_category_path( @district, @school, @presenter.category, {year: @presenter.selected_academic_years.last.range, anchor: "#{measure.measure_id}"}), class: "construct-id", data: {turbo_frame: "_top"}) %>

<%= measure.name %>

<%= render partial: "grouped_bar_chart" , locals: { measure: measure} %>