Permalink
Browse files

get partial scaffolds to work with realtime scaffolds

  • Loading branch information...
Techwraith
Techwraith committed Nov 3, 2012
1 parent 7b8dd02 commit 4b85ae49a549fc3390183598f8caf4f5c1afc2ae
@@ -12,7 +12,7 @@
</div>
<%% } %>
- <@- partial('form', {user: {}}) @>
+ <@- partial('form', {<%= names.property.singular %>: {}}) @>
<div class="form-actions">
<@- contentTag('input', 'Add', {type: 'submit', class: 'btn btn-primary'}) @>
@@ -12,7 +12,7 @@
</div>
<%% } %>
- <@- partial('form', {user: user}) @>
+ <@- partial('form', {<%= names.property.singular %>: <%= names.property.singular %>}) @>
<div class="form-actions">
<@- contentTag('input', 'Save', {type: 'submit', class: 'btn btn-primary'}) @>

0 comments on commit 4b85ae4

Please sign in to comment.