2009-04-02 00:53:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
|
|
<meta name="layout" content="main" />
|
|
|
|
<title>Edit Conference</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="nav">
|
|
|
|
<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
|
|
|
|
<span class="menuButton"><g:link class="list" action="list">Your Conferences</g:link></span>
|
|
|
|
<span class="menuButton"><g:link class="create" action="create">New Conference</g:link></span>
|
|
|
|
</div>
|
|
|
|
<div class="body">
|
|
|
|
<h1>Edit Conference</h1>
|
|
|
|
<g:if test="${flash.message}">
|
|
|
|
<div class="message">${flash.message}</div>
|
|
|
|
</g:if>
|
|
|
|
<g:hasErrors bean="${conference}">
|
|
|
|
<div class="errors">
|
|
|
|
<g:renderErrors bean="${conference}" as="list" />
|
|
|
|
</div>
|
|
|
|
</g:hasErrors>
|
|
|
|
<g:form method="post" >
|
|
|
|
<input type="hidden" name="id" value="${conference?.id}" />
|
|
|
|
<div class="dialog">
|
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr class="prop">
|
|
|
|
<td valign="top" class="name">
|
|
|
|
<label for="conferenceName">Conference Name:</label>
|
|
|
|
</td>
|
2009-04-30 03:38:46 +08:00
|
|
|
<td valign="top" class="value ${hasErrors(bean:conference,field:'name','errors')}">
|
|
|
|
<input type="text" id="name" name="name" value="${fieldValue(bean:conference,field:'name')}"/>
|
2009-04-02 00:53:45 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
2009-05-08 10:32:56 +08:00
|
|
|
<tr class="prop">
|
|
|
|
<td valign="top" class="name">
|
|
|
|
<label for="conferenceName">Conference Number:</label>
|
|
|
|
</td>
|
|
|
|
<td valign="top" class="value ${hasErrors(bean:conference,field:'conferenceNumber','errors')}">
|
|
|
|
<input type="text" id="conferenceNumber" name="conferenceNumber" value="${fieldValue(bean:conference,field:'conferenceNumber')}"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2009-04-02 00:53:45 +08:00
|
|
|
<tr class="prop">
|
|
|
|
<td valign="top" class="name">
|
|
|
|
<label for="dateCreated">Date Created:</label>
|
|
|
|
</td>
|
|
|
|
<td valign="top" class="value ${hasErrors(bean:conference,field:'dateCreated','errors')}">
|
|
|
|
${conference?.dateCreated}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="prop">
|
|
|
|
<td valign="top" class="name">
|
|
|
|
<label for="lastUpdated">Last Updated:</label>
|
|
|
|
</td>
|
|
|
|
<td valign="top" class="value ${hasErrors(bean:conference,field:'lastUpdated','errors')}">
|
|
|
|
${conference?.lastUpdated}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="prop">
|
|
|
|
<td valign="top" class="name">
|
2009-04-30 03:38:46 +08:00
|
|
|
<label for="createdBy">Created By:</label>
|
2009-04-02 00:53:45 +08:00
|
|
|
</td>
|
2009-04-30 03:38:46 +08:00
|
|
|
<td valign="top" class="value ${hasErrors(bean:conference,field:'createdBy','errors')}">
|
|
|
|
${conference.createdBy}
|
2009-04-02 00:53:45 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
|
|
<span class="button"><g:actionSubmit class="save" value="Update" /></span>
|
|
|
|
<span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
|
|
|
|
</div>
|
|
|
|
</g:form>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|