- Timestamp:
- Nov 10, 2010, 5:06:31 AM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Asset.groovy
r702 r704 9 9 String comment = "" 10 10 boolean isActive = true 11 boolean hasRegulatoryRequirements = false12 11 13 12 static hasMany = [assetSubItems: AssetSubItem, -
trunk/grails-app/views/assetDetailed/copy.gsp
r702 r704 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">100 91 <label for="section">Section:</label> 101 92 </td> -
trunk/grails-app/views/assetDetailed/create.gsp
r702 r704 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>70 61 71 62 <tr class="prop"> -
trunk/grails-app/views/assetDetailed/edit.gsp
r702 r704 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>78 69 </td> 79 70 </tr> -
trunk/grails-app/views/assetDetailed/show.gsp
r702 r704 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>69 62 70 63 </tr>
Note: See TracChangeset
for help on using the changeset viewer.