diff --git a/app/views/branded/guidance_groups/_index_by_theme.html.erb b/app/views/branded/guidance_groups/_index_by_theme.html.erb new file mode 100644 index 0000000..624c1f7 --- /dev/null +++ b/app/views/branded/guidance_groups/_index_by_theme.html.erb @@ -0,0 +1,57 @@ +<%# locals{ question, dataset, guidance_groups_by_theme } %> +<% parent_id = guidance_groups_by_theme.object_id %> +
+ <% unless guidances_output.include?(guidance.id) %> + <%= sanitize(guidance.text) %> + <% guidances_output << guidance.id %> + <% multiple = true %> + <% end %> +
+ <% end %> +