diff --git a/app/views/org_admin/questions/_show.html.erb b/app/views/org_admin/questions/_show.html.erb index 80b5203134..2de1aeda85 100644 --- a/app/views/org_admin/questions/_show.html.erb +++ b/app/views/org_admin/questions/_show.html.erb @@ -108,14 +108,15 @@ ) %> <% if theme_guidances.length > 0 %> <% has_org_themed_guidance = true %> -

<%= _("Click the links below to view organisational guidance - related to the themes associated with this question.") %>

- <% break %> + <% break %> <% end %> <% end %> + <% break if has_org_themed_guidance %> <% end %> <% if has_org_themed_guidance %> +

<%= _("Click the links below to view organisational guidance + related to the themes associated with this question.") %>

<% ggs.each do |guidance_group| %> <% themes_q.each do |theme| %> <% theme_guidances = theme.guidances.where(