From 49ef74029cd26d205ebabc24af7eec5d35cfb04e Mon Sep 17 00:00:00 2001 From: Ted Date: Fri, 6 May 2022 11:53:25 +0100 Subject: [PATCH] removed instance @ variable --- app/views/case_logs/_log_filters.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/case_logs/_log_filters.erb b/app/views/case_logs/_log_filters.erb index 0f3a40dfe..4e294c81e 100644 --- a/app/views/case_logs/_log_filters.erb +++ b/app/views/case_logs/_log_filters.erb @@ -6,10 +6,10 @@
<%= form_with url: "/logs", html: { method: :get } do |f| %> <% years = {"2021": "2021/22", "2022": "2022/23"} %> - <% @all_or_yours = {"all": "All", "yours": "Yours"} %> + <% all_or_yours = {"all": "All", "yours": "Yours"} %> <%= render partial: "filters/checkbox_filter", locals: { f: f, options: years, label: "Collection year", category: "years" } %> <%= render partial: "filters/checkbox_filter", locals: { f: f, options: status_filters, label: "Status", category: "status" } %> - <%= render partial: "filters/radio_filter", locals: { f: f, options: @all_or_yours, label: "Logs", category: "user", } %> + <%= render partial: "filters/radio_filter", locals: { f: f, options: all_or_yours, label: "Logs", category: "user", } %> <%= f.govuk_submit "Apply filters", class: "govuk-!-margin-bottom-0" %> <% end %>