- Timestamp:
- May 4, 2009, 1:59:11 PM (16 years ago)
- Location:
- trunk/grails-app/views/maintenanceActionDetailed
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/maintenanceActionDetailed/create.gsp
r122 r124 23 23 </g:hasErrors> 24 24 <g:form action="save" method="post" > 25 <g:hiddenField name="plannedMaintenance.id" value="${maintenanceActionInstance.plannedMaintenance.id}" /> 25 26 <div class="dialog"> 26 27 <table> 27 <tbody> 28 <tbody> 29 30 <tr class="prop"> 31 <td valign="top" class="name"> 32 <label for="plannedMaintenance">Planned Maintenance:</label> 33 </td> 34 <!-- <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'plannedMaintenance','errors')}"> 35 <g:select optionKey="id" from="${PlannedMaintenance.list()}" name="plannedMaintenance.id" value="${maintenanceActionInstance?.plannedMaintenance?.id}" ></g:select> 36 </td>--> 37 <td valign="top" class="name"> 38 ${maintenanceActionInstance?.plannedMaintenance?.name} 39 </td> 40 </tr> 41 42 43 <tr class="prop"> 44 <td valign="top" class="name"> 45 <label for="maintenanceAction">Maintenance Action:</label> 46 </td> 47 <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'maintenanceAction','errors')}"> 48 <input type="text" id="maintenanceAction" name="maintenanceAction" value="${fieldValue(bean:maintenanceActionInstance,field:'maintenanceAction')}"/> 49 </td> 50 </tr> 51 52 <tr class="prop"> 53 <td valign="top" class="name"> 54 <label for="reasoning">Reasoning:</label> 55 </td> 56 <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'reasoning','errors')}"> 57 <input type="text" id="reasoning" name="reasoning" value="${fieldValue(bean:maintenanceActionInstance,field:'reasoning')}"/> 58 </td> 59 </tr> 28 60 29 61 <tr class="prop"> … … 79 111 <g:select optionKey="id" from="${ComponentItem.list()}" name="componentItem.id" value="${maintenanceActionInstance?.componentItem?.id}" noSelection="['null':'']"></g:select> 80 112 </td> 81 </tr> 82 83 <tr class="prop"> 84 <td valign="top" class="name"> 85 <label for="description">Description:</label> 86 </td> 87 <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'description','errors')}"> 88 <input type="text" id="description" name="description" value="${fieldValue(bean:maintenanceActionInstance,field:'description')}"/> 89 </td> 90 </tr> 113 </tr> 91 114 92 115 <tr class="prop"> … … 110 133 <tr class="prop"> 111 134 <td valign="top" class="name"> 112 <label for="p lannedMaintenance">Planned Maintenance:</label>135 <label for="pmStepNumber">PM Step Number:</label> 113 136 </td> 114 <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'p lannedMaintenance','errors')}">115 < g:select optionKey="id" from="${PlannedMaintenance.list()}" name="plannedMaintenance.id" value="${maintenanceActionInstance?.plannedMaintenance?.id}" ></g:select>137 <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'pmStepNumber','errors')}"> 138 <input type="text" id="pmStepNumber" name="pmStepNumber" value="${fieldValue(bean:maintenanceActionInstance,field:'pmStepNumber')}"/> 116 139 </td> 117 </tr> 118 119 <tr class="prop"> 120 <td valign="top" class="name"> 121 <label for="reasoning">Reasoning:</label> 122 </td> 123 <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'reasoning','errors')}"> 124 <input type="text" id="reasoning" name="reasoning" value="${fieldValue(bean:maintenanceActionInstance,field:'reasoning')}"/> 125 </td> 126 </tr> 140 </tr> 127 141 128 142 </tbody>
Note: See TracChangeset
for help on using the changeset viewer.