views/mdc/web.erb in voom-presenters-0.2.0 vs views/mdc/web.erb in voom-presenters-2.0.0
- old
+ new
@@ -1,3 +1,7 @@
+<% if @pom.events&.any? %>
+<div style='display: none;'
+ <%= erb :"components/event", :locals => {comp: @pom, events: @pom.events, parent_id: nil} %>></div>
+<% end %>
<%= erb :"components/render", :locals => {:components => @pom.components, :scope=> nil} %>