
<%= f.text_field :profile_ids, placeholder: t('fb_app_plugin.views.page_tab.profiles.placeholder') %>

<%= javascript_tag do %>
  jQuery(document).ready(function() {
    open_graph.autocomplete.init(
      <%= url_for(controller: :fb_app_plugin_page_tab, action: :enterprise_search).to_json %>,
      '#page-tab-<%= page_tab.id || 'new' %> #config-type-profiles #page_tab_profile_ids',
      <%= page_tab.profiles.map{ |p| {value: p.id, label: render('open_graph_plugin_myprofile/ac_profile', profile: p), } }.to_json %>
    )
  })
<% end %>

<%= f.label t("fb_app_plugin.views.myprofile.catalogs.profiles_chooser_label") %>
<%= f.text_field :profile_ids, placeholder: t('fb_app_plugin.views.page_tab.profiles.placeholder') %>

<%= javascript_tag do %>
  jQuery(document).ready(function() {
    open_graph.autocomplete.init(
      <%= url_for(controller: :fb_app_plugin_page_tab, action: :enterprise_search).to_json %>,
      '#page-tab-<%= page_tab.id || 'new' %> #config-type-profiles #page_tab_profile_ids',
      <%= page_tab.profiles.map{ |p| {value: p.id, label: render('open_graph_plugin_myprofile/ac_profile', profile: p), } }.to_json %>
    )
  })
<% end %>

Add labels for catalog settings 3
Add labels for catalog settings 3