1 | |
---|
2 | <tr id="maintenanceActionLazyList${i}" class="ma-div" <g:if test="${ma?.toBeDeleted}">style="display:none;"</g:if>> |
---|
3 | |
---|
4 | <td valign="top" class="value ${hasErrors(bean:tp,field:/maintenanceActionLazyList[$i].procedureStepNumber/,'errors')}"> |
---|
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 | |
---|
12 | <td valign="top" class="value ${hasErrors(bean:ma,field:'assetSubItem','errors')}"> |
---|
13 | <g:select optionKey="id" |
---|
14 | from="${AssetSubItem.findAllByIsActive(true)}" |
---|
15 | name="maintenanceActionLazyList[${i}].assetSubItem.id" |
---|
16 | value="${ma?.assetSubItem?.id}" |
---|
17 | noSelection="['null':/${g.message(code:'default.none.select.text')}/]"> |
---|
18 | </g:select> |
---|
19 | </td> |
---|
20 | |
---|
21 | <td valign="top" class="value ${hasErrors(bean:ma,field:'description','errors')}"> |
---|
22 | <g:textArea name="maintenanceActionLazyList[${i}].description" |
---|
23 | value="${ma?.description}" |
---|
24 | style="width:100%;height:auto;" |
---|
25 | rows="2" |
---|
26 | cols="25"/> |
---|
27 | </td> |
---|
28 | |
---|
29 | <td valign="top" class="value ${hasErrors(bean:ma,field:'reasoning','errors')}"> |
---|
30 | <g:textArea name="maintenanceActionLazyList[${i}].reasoning" |
---|
31 | value="${ma?.reasoning}" |
---|
32 | style="width:100%;height:auto;" |
---|
33 | rows="2" |
---|
34 | cols="25"/> |
---|
35 | </td> |
---|
36 | |
---|
37 | <td> |
---|
38 | <span class="del-ma"> |
---|
39 | <img src="${resource(dir:'images/skin', file:'database_delete.png')}" /> |
---|
40 | </span> |
---|
41 | </td> |
---|
42 | </tr> |
---|