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

Last change on this file since 795 was 496, checked in by duh, 12 years ago
  • set svn keyword expansion
  • Property svn:keywords set to Date Author Rev
File size: 2.3 KB
Line 
1
2<%@ page import="dbnp.studycapturing.PersonAffiliation" %>
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6        <meta name="layout" content="main" />
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">
21                            <td valign="top" class="name"><g:message code="personAffiliation.institute.label" default="Institute" /></td>
22                           
23                            <td valign="top" class="value">${fieldValue(bean: personAffiliationInstance, field: "institute")}</td>
24                           
25                        </tr>
26                   
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>
33                    </tbody>
34                </table>
35            </div>
36            <div class="buttons">
37                <g:form>
38                    <g:hiddenField name="id" value="${personAffiliationInstance?.id}" />
39                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
40                    <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>
41                    <span class="button"><g:link class="backToList" action="list">Back to list</g:link></span>
42                </g:form>
43            </div>
44        </div>
45    </body>
46</html>
Note: See TracBrowser for help on using the repository browser.