1 | |
---|
2 | |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
6 | <meta name="layout" content="main" /> |
---|
7 | <title>Show Contact</title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <h1>Show Contact</h1> |
---|
12 | </div> |
---|
13 | <div class="body"> |
---|
14 | <g:render template="/shared/messages" /> |
---|
15 | <div class="dialog"> |
---|
16 | <table> |
---|
17 | <tbody> |
---|
18 | |
---|
19 | <tr class="prop"> |
---|
20 | <td valign="top" class="name">Id:</td> |
---|
21 | <td valign="top" class="value">${fieldValue(bean:contactInstance, field:'id')}</td> |
---|
22 | </tr> |
---|
23 | |
---|
24 | <g:if test="${contactInstance.supplier}"> |
---|
25 | <tr class="prop"> |
---|
26 | <td valign="top" class="name">Supplier:</td> |
---|
27 | |
---|
28 | <td valign="top" class="value"><g:link controller="supplierDetailed" action="show" id="${contactInstance.supplier.id}">${contactInstance.supplier.encodeAsHTML()}</g:link></td> |
---|
29 | |
---|
30 | </tr> |
---|
31 | </g:if> |
---|
32 | |
---|
33 | <g:if test="${contactInstance.person}"> |
---|
34 | <tr class="prop"> |
---|
35 | <td valign="top" class="name">Person:</td> |
---|
36 | |
---|
37 | <td valign="top" class="value"><g:link controller="person" action="show" id="${contactInstance.person.id}">${contactInstance.person.encodeAsHTML()}</g:link></td> |
---|
38 | |
---|
39 | </tr> |
---|
40 | </g:if> |
---|
41 | |
---|
42 | <g:if test="${contactInstance.site}"> |
---|
43 | <tr class="prop"> |
---|
44 | <td valign="top" class="name">Site:</td> |
---|
45 | |
---|
46 | <td valign="top" class="value"><g:link controller="siteDetailed" action="show" id="${contactInstance.site.id}">${contactInstance.site.encodeAsHTML()}</g:link></td> |
---|
47 | |
---|
48 | </tr> |
---|
49 | </g:if> |
---|
50 | |
---|
51 | <tr class="prop"> |
---|
52 | <td valign="top" class="name">Contact Type:</td> |
---|
53 | <td valign="top" class="value">${fieldValue(bean:contactInstance, field:'contactType')}</td> |
---|
54 | </tr> |
---|
55 | |
---|
56 | <tr class="prop"> |
---|
57 | <td valign="top" class="name">Value:</td> |
---|
58 | <td valign="top" class="value">${fieldValue(bean:contactInstance, field:'value')}</td> |
---|
59 | </tr> |
---|
60 | |
---|
61 | </tbody> |
---|
62 | </table> |
---|
63 | </div> |
---|
64 | <div class="buttons"> |
---|
65 | <g:form> |
---|
66 | <input type="hidden" name="id" value="${contactInstance?.id}" /> |
---|
67 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
68 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
69 | </g:form> |
---|
70 | </div> |
---|
71 | </div> |
---|
72 | </body> |
---|
73 | </html> |
---|