Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Commit 17218cd

Browse files
committed
fix show property name
1 parent 41e0ba7 commit 17218cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/templates/scaffolding/show.gsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<g:if test="\${flash.message}">
3131
<div class="alert alert-primary" role="alert"><i class="bi-info-circle"></i> \${flash.message}</div>
3232
</g:if>
33-
<f:display bean="sample" listClass="container" listItemClass="row mb-3" labelClass="form-label col-sm-3 text-sm-end" valueClass="col-sm-9" />
33+
<f:display bean="${propertyName}" listClass="container" listItemClass="row mb-3" labelClass="form-label col-sm-3 text-sm-end" valueClass="col-sm-9" />
3434
<g:form resource="\${this.${propertyName}}" controller="\${controllerName}" method="DELETE">
3535
<fieldset class="bg-body-tertiary">
3636
<g:link class="btn btn-outline-primary" action="edit" resource="\${this.${propertyName}}" controller="\${controllerName}">

0 commit comments

Comments
 (0)