Permalink
Browse files

Merge branch 'master' into feature/socket.io-mvc

  • Loading branch information...
2 parents 3b72978 + 5f0b45e commit 7b8dd026fdb1bfd82768cb29357567544f07c1b0 Techwraith committed Nov 3, 2012
View
2 templates/scaffold/views/ejs/add.html.ejs.ejs
@@ -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'}) @>
View
2 templates/scaffold/views/ejs/edit.html.ejs.ejs
@@ -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'}) @>
View
2 templates/scaffold/views/jade/add.html.jade.ejs
@@ -8,7 +8,7 @@
for err in params.errors
li= err
- != partial('form', {user: {}})
+ != partial('form', {<%= names.property.singular %>: {}})
.form-actions
!= contentTag('input', 'Add', {type: 'submit', class: 'btn btn-primary'})
View
2 templates/scaffold/views/jade/edit.html.jade.ejs
@@ -8,7 +8,7 @@
for err in params.errors
li= err
- != partial('form', {user: user})
+ != partial('form', {<%= names.property.singular %>: <%= names.property.singular %>})
.form-actions
!= contentTag('input', 'Save', {type: 'submit', class: 'btn btn-primary'})

0 comments on commit 7b8dd02

Please sign in to comment.