From 69228db2d254d4a076da6fce61da0203674f008b Mon Sep 17 00:00:00 2001 From: JG Date: Thu, 26 May 2022 16:53:16 +0100 Subject: [PATCH] single quotes inside interpolatiom --- app/views/case_logs/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/case_logs/index.html.erb b/app/views/case_logs/index.html.erb index bc7ff67d8..cce0a67bc 100644 --- a/app/views/case_logs/index.html.erb +++ b/app/views/case_logs/index.html.erb @@ -1,9 +1,9 @@ <% item_label = @pagy.count > 1 ? "logs" : "log" %> <% if @searched.present? %> - <% title = "Logs (search results for /'#{@searched}/'#{@pagy.count > 1 ? ", page #{@pagy.from} of #{@pagy.last}" : ""}) - Submit social housing and sales data (CORE) - GOV.UK" %> + <% title = "Logs (search results for ‘#{@searched}’#{@pagy.count > 1 ? ", page #{@pagy.from} of #{@pagy.last}" : ''}) - Submit social housing and sales data (CORE) - GOV.UK" %> <% else %> - <% title = "Logs - #{@pagy.count > 1 ? "(page #{@pagy.from} of #{@pagy.last})" : "" } Submit social housing and sales data (CORE) - GOV.UK" %> + <% title = "Logs - #{@pagy.count > 1 ? "(page #{@pagy.from} of #{@pagy.last})" : ''} Submit social housing and sales data (CORE) - GOV.UK" %> <% end %> <% content_for :title, title %>