mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
todo
This commit is contained in:
parent
bbe8e8c06b
commit
a9719b25ca
@ -18,7 +18,7 @@ class SerendipitousService < Service
|
||||
|
||||
fields_for_these_categories = AttributeField.where(
|
||||
user: content.user,
|
||||
field_type: ["text_area"],
|
||||
field_type: "text_area",
|
||||
hidden: [nil, false],
|
||||
attribute_category_id: categories_for_this_type.pluck(:id)
|
||||
)
|
||||
|
||||
@ -50,6 +50,7 @@
|
||||
<li><%= serialized_field[:value] %></li>
|
||||
<% elsif serialized_field[:type] == "link" %>
|
||||
<%=
|
||||
#TODO: We should swap all the other field displays here with the new partials also
|
||||
render partial: "content/display/attribute_value/link",
|
||||
locals: { value: serialized_field[:value], content: content }
|
||||
%>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user