lib/generators/mdd/scaffold/templates/views/edit.html.erb in mdd-1.1.0 vs lib/generators/mdd/scaffold/templates/views/edit.html.erb in mdd-2.0
- old
+ new
@@ -1,7 +1,7 @@
-<div id="<%= plural_name %>_edit" class="mdwa_edit">
+<div id="<%= @model.plural_name %>_edit" class="mdwa_edit">
<div class="page_header">
- <h1><%%= t('<%= plural_name %>.edit_title') %></h1>
+ <h1><%%= t('<%= @model.plural_name %>.edit_title') %></h1>
</div>
<div class="inside">
<%%= render 'form' %>
</div>
\ No newline at end of file