Changeset 122 for trunk/grails-app/views/componentItem/edit.gsp
- Timestamp:
- May 1, 2009, 3:27:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/componentItem/edit.gsp
r118 r122 41 41 <tr class="prop"> 42 42 <td valign="top" class="name"> 43 <label for="fmeaNumber">Fmea Number:</label>44 </td>45 <td valign="top" class="value ${hasErrors(bean:componentItemInstance,field:'fmeaNumber','errors')}">46 <input type="text" id="fmeaNumber" name="fmeaNumber" value="${fieldValue(bean:componentItemInstance,field:'fmeaNumber')}" />47 </td>48 </tr>49 50 <tr class="prop">51 <td valign="top" class="name">52 43 <label for="isActive">Is Active:</label> 53 44 </td> … … 59 50 <tr class="prop"> 60 51 <td valign="top" class="name"> 61 <label for=" lifeplan">Lifeplan:</label>52 <label for="maintenanceActions">Maintenance Actions:</label> 62 53 </td> 63 <td valign="top" class="value ${hasErrors(bean:componentItemInstance,field:'lifeplan','errors')}"> 64 <g:select optionKey="id" from="${LifePlan.list()}" name="lifeplan.id" value="${componentItemInstance?.lifeplan?.id}" ></g:select> 54 <td valign="top" class="value ${hasErrors(bean:componentItemInstance,field:'maintenanceActions','errors')}"> 55 56 <ul> 57 <g:each var="m" in="${componentItemInstance?.maintenanceActions?}"> 58 <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> 59 </g:each> 60 </ul> 61 <g:link controller="maintenanceAction" params="['componentItem.id':componentItemInstance?.id]" action="create">Add MaintenanceAction</g:link> 62 65 63 </td> 66 64 </tr>
Note: See TracChangeset
for help on using the changeset viewer.