Changeset 702
- Timestamp:
- Nov 5, 2010, 1:19:16 PM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Asset.groovy
r622 r702 9 9 String comment = "" 10 10 boolean isActive = true 11 boolean hasRegulatoryRequirements = false 11 12 12 13 static hasMany = [assetSubItems: AssetSubItem, -
trunk/grails-app/views/assetDetailed/copy.gsp
r329 r702 89 89 <tr class="prop"> 90 90 <td valign="top" class="name"> 91 <label for="hasRegulatoryRequirements">Has Regulatory Requirements:</label> 92 </td> 93 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'hasRegulatoryRequirements','errors')}"> 94 <g:checkBox name="hasRegulatoryRequirements" value="${assetInstance?.hasRegulatoryRequirements}" ></g:checkBox> 95 </td> 96 </tr> 97 98 <tr class="prop"> 99 <td valign="top" class="name"> 91 100 <label for="section">Section:</label> 92 101 </td> -
trunk/grails-app/views/assetDetailed/create.gsp
r349 r702 59 59 </td> 60 60 </tr> 61 62 <tr class="prop"> 63 <td valign="top" class="name"> 64 <label for="hasRegulatoryRequirements">Has Regulatory Requirements:</label> 65 </td> 66 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'hasRegulatoryRequirements','errors')}"> 67 <g:checkBox name="hasRegulatoryRequirements" value="${assetInstance?.hasRegulatoryRequirements}" ></g:checkBox> 68 </td> 69 </tr> 61 70 62 71 <tr class="prop"> -
trunk/grails-app/views/assetDetailed/edit.gsp
r657 r702 67 67 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'isActive','errors')}"> 68 68 <g:checkBox name="isActive" value="${assetInstance?.isActive}" ></g:checkBox> 69 </td> 70 </tr> 71 72 <tr class="prop"> 73 <td valign="top" class="groupName"> 74 <label for="hasRegulatoryRequirements">Has Regulatory Requirements:</label> 75 </td> 76 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'hasRegulatoryRequirements','errors')}"> 77 <g:checkBox name="hasRegulatoryRequirements" value="${assetInstance?.hasRegulatoryRequirements}" ></g:checkBox> 69 78 </td> 70 79 </tr> -
trunk/grails-app/views/assetDetailed/show.gsp
r657 r702 60 60 61 61 <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'isActive')}</td> 62 63 </tr> 64 65 <tr class="prop"> 66 <td valign="top" class="groupName">Has Regulatory Requirements:</td> 67 68 <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'hasRegulatoryRequirements')}</td> 62 69 63 70 </tr>
Note: See TracChangeset
for help on using the changeset viewer.