Browse Source

linter

pull/956/head
Jack S 4 years ago
parent
commit
dbe899af61
  1. 20
      app/views/organisation_relationships/managing_agents.html.erb

20
app/views/organisation_relationships/managing_agents.html.erb

@ -3,11 +3,11 @@
<% if current_user.data_coordinator? %> <% if current_user.data_coordinator? %>
<% if params["related_organisation_id"] %> <% if params["related_organisation_id"] %>
<%= govuk_notification_banner( <%= govuk_notification_banner(
title_text: "Success", title_text: "Success",
success: true, title_heading_level: 3, success: true, title_heading_level: 3,
title_id: "swanky-notifications" title_id: "swanky-notifications"
) do |notification_banner| ) do |notification_banner|
notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of this organisation's managing agents") notification_banner.heading(text: "#{Organisation.find(params['related_organisation_id']).name} is now one of this organisation's managing agents")
end %> end %>
<% end %> <% end %>
<% end %> <% end %>
@ -20,11 +20,11 @@
<h2 class="govuk-visually-hidden">Managing Agents</h2> <h2 class="govuk-visually-hidden">Managing Agents</h2>
<% if params["related_organisation_id"] %> <% if params["related_organisation_id"] %>
<%= govuk_notification_banner( <%= govuk_notification_banner(
title_text: "Success", title_text: "Success",
success: true, title_heading_level: 3, success: true, title_heading_level: 3,
title_id: "swanky-notifications" title_id: "swanky-notifications"
) do |notification_banner| ) do |notification_banner|
notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of this organisation's managing agents") notification_banner.heading(text: "#{Organisation.find(params['related_organisation_id']).name} is now one of this organisation's managing agents")
end %> end %>
<% end %> <% end %>
<p class="govuk-body">A managing agent can submit logs for this organisation.</p> <p class="govuk-body">A managing agent can submit logs for this organisation.</p>

Loading…
Cancel
Save