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

Last change on this file since 1430 was 1430, checked in by work@…, 9 years ago
  • set keyword expansion
  • Property svn:keywords set to Rev Author Date
File size: 2.5 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="${layout}" />
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                   <g:each in="${extraparams}" var="param">
40                     <input type="hidden" name="${param.key}" value="${param.value}">
41                   </g:each>
42
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>
45                    <span class="button"><g:link class="backToList" action="list" params="${extraparams}">Back to list</g:link></span>
46                </g:form>
47            </div>
48        </div>
49    </body>
50</html>
Note: See TracBrowser for help on using the repository browser.