mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
remove debug
This commit is contained in:
parent
9606b82e5f
commit
f3bfd604c9
@ -9,6 +9,7 @@ module HasAttributes
|
||||
|
||||
def self.attribute_categories(user, show_hidden: false)
|
||||
return [] if ['attribute_category', 'attribute_field'].include?(content_name)
|
||||
# This doesn't work the way I think it does
|
||||
#return @cached_attribute_categories_for_this_content if @cached_attribute_categories_for_this_content
|
||||
|
||||
# Always include the flatfile categories (but create AR versions if they don't exist)
|
||||
|
||||
@ -54,7 +54,6 @@
|
||||
<%# for debugging: fields.map { |field| field.attribute_values.where(entity_id: content.id).map { |av| av.value } }.uniq %>
|
||||
|
||||
<li class="collection-item tab">
|
||||
<%= category.id %>
|
||||
<a href="#<%= category.name.gsub("'", '') %>_panel" class="<%= 'red-text' if category.label == 'Overview' %>">
|
||||
<i class="material-icons left"><%= category.icon %></i>
|
||||
<%= category.label.capitalize.presence || '(blank)' %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user