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

Last change on this file since 379 was 379, checked in by roberth, 9 years ago

Updated the person, personrole and personaffiliation view templates in order to create a consistent example for simple tables.
Also updated bootstrap.groovy to contain several persons and roles

File size: 2.0 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.name.label" default="Name" /></td>
22                           
23                            <td valign="top" class="value">${fieldValue(bean: personAffiliationInstance, field: "name")}</td>
24                           
25                        </tr>
26                   
27                    </tbody>
28                </table>
29            </div>
30            <div class="buttons">
31                <g:form>
32                    <g:hiddenField name="id" value="${personAffiliationInstance?.id}" />
33                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
34                    <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>
35                    <span class="button"><g:link class="backToList" action="list">Back to list</g:link></span>
36                </g:form>
37            </div>
38        </div>
39    </body>
40</html>
Note: See TracBrowser for help on using the repository browser.