app/helpers/alchemy/admin/contents_helper.rb in alchemy_cms-2.7.0 vs app/helpers/alchemy/admin/contents_helper.rb in alchemy_cms-2.7.1
- old
+ new
@@ -13,14 +13,9 @@
c = content
end
"#{c.essence_type.demodulize.underscore}_#{c.id}"
end
- # Returns a jquery selector string of form field ids from given contents
- def contents_form_field_ids_string(contents)
- contents.collect { |c| "##{c.form_field_id}" }.join(', ')
- end
-
# Renders the name of elements content or the default name defined in elements.yml
def render_content_name(content)
if content.blank?
warning('Element is nil')
return ""