views/mdc/components/list/icon.erb in voom-presenters-0.2.0 vs views/mdc/components/list/icon.erb in voom-presenters-2.0.0
- old
+ new
@@ -1,5 +1,6 @@
<%if line.icon%>
- <span class="mdc-list-item__graphic">
+ <span class="mdc-list-item__graphic"
+ <%= erb :"components/event", :locals => {comp: line, events: line.events, parent_id: line.event_parent_id} %>>
<%= erb :"components/icon", :locals => {comp: line.icon} %>
</span>
<%end%>
\ No newline at end of file