diff --git a/app/views/content/form/_panel.html.erb b/app/views/content/form/_panel.html.erb index e29aa17d..0544d1e4 100644 --- a/app/views/content/form/_panel.html.erb +++ b/app/views/content/form/_panel.html.erb @@ -54,8 +54,6 @@ end %> - <%# TODO REMOVE THIS QUERY %> - <% universe_attribute = Attribute.find_by(user: current_user, attribute_field_id: field[:id], entity: f.object) %> <%= hidden_field_tag "#{content.class.name.downcase}[custom_attribute_values][][name]", field[:name] %> <%= @universe_dropdown_options ||= valid_universes.uniq.sort_by(&:name).map { |u| [u.name, u.id] } @@ -96,10 +94,8 @@