app/views/erd/erd/erd.html.erb in erd-0.6.4 vs app/views/erd/erd/erd.html.erb in erd-0.7.0
- old
+ new
@@ -1,4 +1,4 @@
<div id="erd" data-svg_width="<%= width %>" data-svg_height="<%= height %>">
- <%= render :partial => 'erd/erd/model', :collection => models -%>
+ <%= render :partial => 'erd/erd/model', :collection => models, :locals => {:edit_mode => edit_mode} -%>
<script>window.raw_edges = <%= edges.to_json.html_safe %>;</script>
</div>