
    <tr id="maintenanceActionLazyList${i}" class="ma-div" <g:if test="${ma?.toBeDeleted}">style="display:none;"</g:if>>

        <td valign="top" class="${hasErrors(bean:ma,field:procedureStepNumber,'errors')}">
            <g:hiddenField name="maintenanceActionLazyList[${i}].toBeDeleted" value="${ma?.toBeDeleted}"/>
            <g:hiddenField name='maintenanceActionLazyList[${i}].isNew' value="${ma?.id == null?'true':'false'}"/>
            <g:textField name="maintenanceActionLazyList[${i}].procedureStepNumber"
                                    value="${ma?.procedureStepNumber}"
                                    style="width:3em;"/>
        </td>

        <td valign="top" class="${hasErrors(bean:ma,field:'assetSubItem','errors')}">
            <g:select optionKey="id"
                                from="${assemblies}"
                                name="maintenanceActionLazyList[${i}].assetSubItem.id"
                                value="${ma?.assetSubItem?.id}"
                                noSelection="['null':/${g.message(code:'default.please.select.text')}/]">
            </g:select>
        </td>

        <td valign="top" class="${hasErrors(bean:ma,field:'description','errors')}">
            <g:textArea name="maintenanceActionLazyList[${i}].description"
                                    value="${ma?.description}"
                                    style="width:280px;height:auto;"/>
        </td>

        <td valign="top" class="${hasErrors(bean:ma,field:'pageRef','errors')}">
            <g:textArea name="maintenanceActionLazyList[${i}].pageRef"
                                    value="${ma?.pageRef}"
                                    style="width:100px;height:auto;"/>
        </td>

        <td>
            <span class="del-ma">
                <img src="${resource(dir:'images/skin', file:'database_delete.png')}" />
            </span>
        </td>
    </tr>
