diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index dbe33a4..8a8f8d2 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1419,9 +1419,13 @@ module ApplicationHelper text_field_tag name, default, options.merge({:id => 'search-input', 'data-asset' => asset}) end - def profile_suggestion_categories(suggestion) - suggestion.categories.map do |cat| - content_tag(:p, content_tag(:span, "#{suggestion.category_label(cat[0])}: #{cat[1]}", :class => suggestion.category_icon(cat[0]))) + def profile_suggestion_profile_connections(suggestion) + suggestion.profile_connections.map do |cat| + end.join + end + + def profile_suggestion_tag_connections(suggestion) + suggestion.tag_connections.map do |cat| end.join end end diff --git a/app/views/shared/_profile_suggestions_list.html.erb b/app/views/shared/_profile_suggestions_list.html.erb index 5530c17..2338cbd 100644 --- a/app/views/shared/_profile_suggestions_list.html.erb +++ b/app/views/shared/_profile_suggestions_list.html.erb @@ -8,32 +8,27 @@