Skip to content

Commit

Permalink
Refs #81 - changes copied from master branch commit c9fafaf
Browse files Browse the repository at this point in the history
  • Loading branch information
cbmarcum committed Oct 25, 2019
1 parent dcec4c6 commit 4b6c671
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions grails-app/views/product/_form.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
<span class="required-indicator">*</span>
</label>
<g:field type="number" class="form-control" name="listPrice"
value="${fieldValue(bean: product, field: 'listPrice')}" required="true"/>
value="${fieldValue(bean: product, field: 'listPrice')}" required="true"
min="0" step="0.01" />
</div>

<div class="form-group col-md-6 ${hasErrors(bean: product, field: 'shipWeight', 'error')}">
Expand All @@ -63,7 +64,8 @@
<span class="required-indicator">*</span>
</label>
<g:field type="number" class="form-control" name="shipWeight" required="true"
value="${fieldValue(bean: product, field: 'shipWeight')}"/>
value="${fieldValue(bean: product, field: 'shipWeight')}"
min="0" step="0.01" />
</div>

</div> <%-- /.row --%>
Expand Down

0 comments on commit 4b6c671

Please sign in to comment.