Chatwoot/app/views/fields/serialized_field/_show.html.erb

10 lines
164 B
Text
Raw Permalink Normal View History

<% if field.array? %>
<% field.data.each do |sub_field| %>
<div>
<%= sub_field.to_s %>
</div>
<% end %>
<% else %>
<%= field.to_s %>
<% end %>