[361] | 1 | |
---|
| 2 | <%@ page import="dbnp.studycapturing.PersonAffiliation" %> |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
[987] | 6 | <meta name="layout" content="${layout}" /> |
---|
[361] | 7 | <g:set var="entityName" value="${message(code: 'personAffiliation.label', default: 'PersonAffiliation')}" /> |
---|
| 8 | <title><g:message code="default.edit.label" args="['Affiliation']" /></title> |
---|
| 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="body"> |
---|
| 12 | <h1><g:message code="default.edit.label" args="['Affiliation']" /></h1> |
---|
| 13 | <g:if test="${flash.message}"> |
---|
| 14 | <div class="message">${flash.message}</div> |
---|
| 15 | </g:if> |
---|
| 16 | <g:hasErrors bean="${personAffiliationInstance}"> |
---|
| 17 | <div class="errors"> |
---|
| 18 | <g:renderErrors bean="${personAffiliationInstance}" as="list" /> |
---|
| 19 | </div> |
---|
| 20 | </g:hasErrors> |
---|
| 21 | <g:form method="post" > |
---|
| 22 | <g:hiddenField name="id" value="${personAffiliationInstance?.id}" /> |
---|
| 23 | <g:hiddenField name="version" value="${personAffiliationInstance?.version}" /> |
---|
| 24 | <div class="dialog"> |
---|
| 25 | <table> |
---|
| 26 | <tbody> |
---|
| 27 | |
---|
| 28 | <tr class="prop"> |
---|
| 29 | <td valign="top" class="name"> |
---|
[442] | 30 | <label for="name"><g:message code="personAffiliation.institute.label" default="Institute" /></label> |
---|
[361] | 31 | </td> |
---|
[442] | 32 | <td valign="top" class="value ${hasErrors(bean: personAffiliationInstance, field: 'institute', 'errors')}"> |
---|
| 33 | <g:textField name="institute" value="${personAffiliationInstance?.institute}" /> |
---|
[361] | 34 | </td> |
---|
| 35 | </tr> |
---|
[442] | 36 | <tr class="prop"> |
---|
| 37 | <td valign="top" class="name"> |
---|
| 38 | <label for="name"><g:message code="personAffiliation.department.label" default="Department" /></label> |
---|
| 39 | </td> |
---|
| 40 | <td valign="top" class="value ${hasErrors(bean: personAffiliationInstance, field: 'department', 'errors')}"> |
---|
| 41 | <g:textField name="department" value="${personAffiliationInstance?.department}" /> |
---|
| 42 | </td> |
---|
| 43 | </tr> |
---|
[361] | 44 | </tbody> |
---|
| 45 | </table> |
---|
| 46 | </div> |
---|
| 47 | <div class="buttons"> |
---|
[987] | 48 | <g:each in="${extraparams}" var="param"> |
---|
| 49 | <input type="hidden" name="${param.key}" value="${param.value}"> |
---|
| 50 | </g:each> |
---|
[361] | 51 | <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span> |
---|
[379] | 52 | <span class="button"><g:actionSubmit class="cancel" action="show" value="Cancel" /></span> |
---|
[361] | 53 | </div> |
---|
| 54 | </g:form> |
---|
| 55 | </div> |
---|
| 56 | </body> |
---|
| 57 | </html> |
---|