grails-angular-scaffolding icon indicating copy to clipboard operation
grails-angular-scaffolding copied to clipboard

show.html (fix attached)

Open dmarley opened this issue 11 years ago • 0 comments

Currently inside the show.html scaffolding template the following code has an issue when you have null values returned -- values end up being displayed against wrong labels...

Example:

  • in the following example this record is not approved yet -- so no value -- however the show page will display the lastupdate value beside the approved date field.

Create Date: created date ends up (correct) spot Approved Date: last update date ends up here (incorrect) Last Updated: left blank (incorrect)

Changed the following code to output a table and the data came out correct:

https://gist.github.com/dmarley/6307091

dmarley avatar Aug 22 '13 13:08 dmarley