Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:mde/geddy

  • Loading branch information...
commit 116f46fcb62cd88d2d0cea354e3523857cd251a0 2 parents da929ec + 5f0b45e
mde authored
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'})
Please sign in to comment.
Something went wrong with that request. Please try again.