source: trunk/grails-app/views/personAffiliation/show.gsp @ 1426

Last change on this file since 1426 was 987, checked in by robert@…, 12 years ago

Fixed bug #15

  • Property svn:keywords set to Author Date Rev
File size: 2.5 KB
RevLine 
[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.show.label" args="['Affiliation']" /></title>
9    </head>
10    <body>
11        <div class="body">
12            <h1><g:message code="default.show.label" args="['Affiliation']" /></h1>
13            <g:if test="${flash.message}">
14            <div class="message">${flash.message}</div>
15            </g:if>
16            <div class="dialog">
17                <table>
18                    <tbody>
19
20                        <tr class="prop">
[442]21                            <td valign="top" class="name"><g:message code="personAffiliation.institute.label" default="Institute" /></td>
[361]22                           
[442]23                            <td valign="top" class="value">${fieldValue(bean: personAffiliationInstance, field: "institute")}</td>
[361]24                           
25                        </tr>
26                   
[442]27                        <tr class="prop">
28                            <td valign="top" class="name"><g:message code="personAffiliation.department.label" default="Department" /></td>
29
30                            <td valign="top" class="value">${fieldValue(bean: personAffiliationInstance, field: "department")}</td>
31
32                        </tr>
[361]33                    </tbody>
34                </table>
35            </div>
36            <div class="buttons">
37                <g:form>
38                    <g:hiddenField name="id" value="${personAffiliationInstance?.id}" />
[987]39                   <g:each in="${extraparams}" var="param">
40                     <input type="hidden" name="${param.key}" value="${param.value}">
41                   </g:each>
42
[361]43                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
44                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
[987]45                    <span class="button"><g:link class="backToList" action="list" params="${extraparams}">Back to list</g:link></span>
[361]46                </g:form>
47            </div>
48        </div>
49    </body>
50</html>
Note: See TracBrowser for help on using the repository browser.