Skip to content
Browse files

fix broken update functionality in admin screens

  • Loading branch information...
1 parent c8d8612 commit 4ff6a2abed72adbae7ea152469964b5142a8dbf3 @graemerocher graemerocher committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/templates/scaffolding/edit.gsp
View
2 src/templates/scaffolding/edit.gsp
@@ -60,7 +60,7 @@ props.each { p ->
} %>
<div class="form-actions">
- <g:submitButton name="update" class="btn btn-primary"
+ <g:actionSubmit action="update" class="btn btn-primary"
value="\${message(code: 'default.button.update.label', default: 'Update')}"/>
<g:actionSubmit class="btn btn-danger" action="delete"
value="\${message(code: 'default.button.delete.label', default: 'Delete')}"

0 comments on commit 4ff6a2a

Please sign in to comment.
Something went wrong with that request. Please try again.