Skip to content
This repository
tree: 20031ecbbd
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 84 lines (81 sloc) 5.74 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
           <div class="dialog">
               <table>
                   <tbody>
                       <tr class="prop">
                           <td valign="top" class="name">
                               <label for="name"><g:message code="person.name.label" default="Person Name" /></label>
                           </td>
                           <td valign="top" class="value ${hasErrors(bean: personInstance, field: 'name', 'errors')}">
                               <g:textField name="name" value="${personInstance?.name}" />
                           </td>
                           <td>
                           <g:if test="${hasErrors(bean: personInstance, field: 'name', 'errors')}">
                            <jqvalui:renderError for="name" style="margin-top: -5px">
                            <g:eachError bean="${personInstance}" field="name"><g:message error="${it}" /></g:eachError>
                            </jqvalui:renderError>
                           </g:if>
                           </td>
                       </tr>
                   
                       <tr class="prop">
                           <td valign="top" class="name">
                               <label for="workAddress.code"><g:message code="workAddress.code.label" default="Work Address Code" /></label>
                           </td>
                           <td valign="top" class="value ${hasErrors(bean: personInstance?.workAddress, field: 'code', 'errors')}">
                               <g:textField name="workAddress.code" value="${personInstance?.workAddress?.code}" />
                           </td>
                           <td>
                           <g:if test="${hasErrors(bean: personInstance, field: 'workAddress.code', 'errors')}">
                            <jqvalui:renderError for="workAddress.code" style="margin-top: -5px">
                            <g:eachError bean="${personInstance}" field="workAddress.code"><g:message error="${it}" /></g:eachError>
                            </jqvalui:renderError>
                           </g:if>
                           </td>
                       </tr>
                   
                       <tr class="prop">
                           <td valign="top" class="name">
                               <label for="workAddress.number"><g:message code="workAddress.number.label" default="Work Address Number" /></label>
                           </td>
                           <td valign="top" class="value ${hasErrors(bean: personInstance?.workAddress, field: 'number', 'errors')}">
                               <g:textField name="workAddress.number" value="${fieldValue(bean: personInstance?.workAddress, field: 'number')}" />
                           </td>
                           <td>
                           <g:if test="${hasErrors(bean: personInstance, field: 'workAddress.number', 'errors')}">
                            <jqvalui:renderError for="workAddress.number" style="margin-top: -5px">
                            <g:eachError bean="${personInstance}" field="workAddress.number"><g:message error="${it}" /></g:eachError>
                            </jqvalui:renderError>
                           </g:if>
                           </td>
                       </tr>
                       <tr class="prop">
                           <td valign="top" class="name">
                               <label for="homeAddress.code"><g:message code="homeAddress.code.label" default="Home Address Code" /></label>
                           </td>
                           <td valign="top" class="value ${hasErrors(bean: personInstance?.homeAddress, field: 'code', 'errors')}">
                               <g:textField name="homeAddress.code" value="${personInstance?.homeAddress?.code}" />
                           </td>
                           <td>
                           <g:if test="${hasErrors(bean: personInstance, field: 'homeAddress.code', 'errors')}">
                            <jqvalui:renderError for="homeAddress.code" style="margin-top: -5px">
                            <g:eachError bean="${personInstance}" field="homeAddress.code"><g:message error="${it}" /></g:eachError>
                            </jqvalui:renderError>
                           </g:if>
                           </td>
                       </tr>
                   
                       <tr class="prop">
                           <td valign="top" class="name">
                               <label for="homeAddress.number"><g:message code="homeAddress.number.label" default="Home Address Number" /></label>
                           </td>
                           <td valign="top" class="value ${hasErrors(bean: personInstance?.homeAddress, field: 'number', 'errors')}">
                               <g:textField name="homeAddress.number" value="${fieldValue(bean: personInstance?.homeAddress, field: 'number')}" />
                           </td>
                           <td>
                           <g:if test="${hasErrors(bean: personInstance, field: 'homeAddress.number', 'errors')}">
                            <jqvalui:renderError for="homeAddress.number" style="margin-top: -5px">
                            <g:eachError bean="${personInstance}" field="homeAddress.number"><g:message error="${it}" /></g:eachError>
                            </jqvalui:renderError>
                           </g:if>
                           </td>
                       </tr>
                   </tbody>
               </table>
           </div>
Something went wrong with that request. Please try again.