Last change
on this file since 841 was
811,
checked in by gav, 14 years ago
|
Domain change, adjust constraints on MaintenanceAction.
|
File size:
1.9 KB
|
Rev | Line | |
---|
[770] | 1 | |
---|
| 2 | <tr id="maintenanceActionLazyList${i}" class="ma-div" <g:if test="${ma?.toBeDeleted}">style="display:none;"</g:if>> |
---|
| 3 | |
---|
[811] | 4 | <td valign="top" class="${hasErrors(bean:ma,field:procedureStepNumber,'errors')}"> |
---|
[770] | 5 | <g:hiddenField name="maintenanceActionLazyList[${i}].toBeDeleted" value="${ma?.toBeDeleted}"/> |
---|
| 6 | <g:hiddenField name='maintenanceActionLazyList[${i}].isNew' value="${ma?.id == null?'true':'false'}"/> |
---|
| 7 | <g:textField name="maintenanceActionLazyList[${i}].procedureStepNumber" |
---|
| 8 | value="${ma?.procedureStepNumber}" |
---|
| 9 | style="width:3em;"/> |
---|
| 10 | </td> |
---|
| 11 | |
---|
[806] | 12 | <td valign="top" class="${hasErrors(bean:ma,field:'assetSubItem','errors')}"> |
---|
[770] | 13 | <g:select optionKey="id" |
---|
[776] | 14 | from="${assemblies}" |
---|
[770] | 15 | name="maintenanceActionLazyList[${i}].assetSubItem.id" |
---|
| 16 | value="${ma?.assetSubItem?.id}" |
---|
[811] | 17 | noSelection="['null':/${g.message(code:'default.please.select.text')}/]"> |
---|
[770] | 18 | </g:select> |
---|
| 19 | </td> |
---|
| 20 | |
---|
[806] | 21 | <td valign="top" class="${hasErrors(bean:ma,field:'description','errors')}"> |
---|
[770] | 22 | <g:textArea name="maintenanceActionLazyList[${i}].description" |
---|
| 23 | value="${ma?.description}" |
---|
[806] | 24 | style="width:280px;height:auto;"/> |
---|
[770] | 25 | </td> |
---|
| 26 | |
---|
[806] | 27 | <td valign="top" class="${hasErrors(bean:ma,field:'pageRef','errors')}"> |
---|
[788] | 28 | <g:textArea name="maintenanceActionLazyList[${i}].pageRef" |
---|
| 29 | value="${ma?.pageRef}" |
---|
[806] | 30 | style="width:100px;height:auto;"/> |
---|
[770] | 31 | </td> |
---|
| 32 | |
---|
| 33 | <td> |
---|
| 34 | <span class="del-ma"> |
---|
| 35 | <img src="${resource(dir:'images/skin', file:'database_delete.png')}" /> |
---|
| 36 | </span> |
---|
| 37 | </td> |
---|
| 38 | </tr> |
---|
Note: See
TracBrowser
for help on using the repository browser.