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

        <td valign="top" class="value ${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:100%;height:auto;"
                                    rows="2"
                                    cols="25"/>
        </td>

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

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