From dbe899af61be602bde00eb0b740fec74fee348af Mon Sep 17 00:00:00 2001 From: Jack S Date: Fri, 28 Oct 2022 14:18:36 +0100 Subject: [PATCH] linter --- .../managing_agents.html.erb | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/organisation_relationships/managing_agents.html.erb b/app/views/organisation_relationships/managing_agents.html.erb index 95fa18ca9..f09646454 100644 --- a/app/views/organisation_relationships/managing_agents.html.erb +++ b/app/views/organisation_relationships/managing_agents.html.erb @@ -3,11 +3,11 @@ <% if current_user.data_coordinator? %> <% if params["related_organisation_id"] %> <%= govuk_notification_banner( - title_text: "Success", - success: true, title_heading_level: 3, - title_id: "swanky-notifications" - ) do |notification_banner| - notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of this organisation's managing agents") + title_text: "Success", + success: true, title_heading_level: 3, + title_id: "swanky-notifications" + ) do |notification_banner| + notification_banner.heading(text: "#{Organisation.find(params['related_organisation_id']).name} is now one of this organisation's managing agents") end %> <% end %> <% end %> @@ -20,11 +20,11 @@

Managing Agents

<% if params["related_organisation_id"] %> <%= govuk_notification_banner( - title_text: "Success", - success: true, title_heading_level: 3, - title_id: "swanky-notifications" - ) do |notification_banner| - notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of this organisation's managing agents") + title_text: "Success", + success: true, title_heading_level: 3, + title_id: "swanky-notifications" + ) do |notification_banner| + notification_banner.heading(text: "#{Organisation.find(params['related_organisation_id']).name} is now one of this organisation's managing agents") end %> <% end %>

A managing agent can submit logs for this organisation.