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

        <td valign="top" class="${hasErrors(bean:docRef,field:'name','errors')}">
            <g:hiddenField name="documentReferenceLazyList[${i}].toBeDeleted" value="${docRef?.toBeDeleted}"/>
            <g:hiddenField name='documentReferenceLazyList[${i}].isNew' value="${docRef?.id == null?'true':'false'}"/>
            <g:textArea name="documentReferenceLazyList[${i}].name"
                                    value="${docRef?.name}"
                                    style="width:420px;height:auto;"/>
        </td>

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

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