| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| <meta name="layout" content="main"/> |
| <title>Show Event</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">Event List</g:link></span> |
| <span class="menuButton"><g:link class="create" action="create">New Event</g:link></span> |
| </div> |
| <div class="body"> |
| <h1>Registration</h1> |
| <g:if test="${flash.message}"> |
| <div class="message">${flash.message}</div> |
| </g:if> |
| <g:form controller="event" method="post"> |
| <div class="dialog"> |
| <table> |
| <tbody> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Id:</td> |
| |
| <td valign="top" class="value">${event.id}</td> |
| |
| </tr> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Name:</td> |
| |
| <td valign="top" class="value">${event.name}</td> |
| |
| </tr> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Description:</td> |
| |
| <td valign="top" class="value">${event.description}</td> |
| |
| </tr> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Location:</td> |
| |
| <td valign="top" class="value">${event.location}</td> |
| |
| </tr> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Speakers:</td> |
| |
| <td valign="top" class="value">${event.speakers}</td> |
| |
| </tr> |
| <tr class='prop'> |
| <td valign='top' class='name'> |
| <label for='name'>Name:</label> |
| </td> |
| <td valign='top' class='value ${hasErrors(bean: registration, field: 'name', 'errors')}'> |
| <input type="text" id='name' name='name' value="${fieldValue(bean: registration, field: 'name')}"/> |
| </td> |
| </tr> |
| <tr class='prop'> |
| <td valign='top' class='name'> |
| <label for='email'>Email:</label> |
| </td> |
| <td valign='top' class='value ${hasErrors(bean: registration, field: 'email', 'errors')}'> |
| <input type="text" id='email' name='email' value="${fieldValue(bean: registration, field: 'email')}"/> |
| </td> |
| </tr> |
| <tr class='prop'> |
| <td valign='top' class='name'> |
| <label for='company'>Company:</label> |
| </td> |
| <td valign='top' class='value ${hasErrors(bean: registration, field: 'company', 'errors')}'> |
| <input type="text" id='company' name='company' value="${fieldValue(bean: registration, field: 'company')}"/> |
| </td> |
| </tr> |
| <tr class='prop'> |
| <td valign='top' class='name'> |
| <label for='reminder'>Reminder:</label> |
| </td> |
| <td valign='top' class='value ${hasErrors(bean: registration, field: 'reminder', 'errors')}'> |
| <g:checkBox name='reminder' value="${registration?.reminder}"></g:checkBox> |
| </td> |
| </tr> |
| |
| </tbody> |
| </table> |
| </div> |
| <div class="buttons"> |
| </g:form> |
| <g:form controller="event"> |
| <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> |
| </g:form> |
| </div> |
| </div> |
| </body> |
| </html> |
| ----- |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| <meta name="layout" content="main"/> |
| <title>Show Event</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">Event List</g:link></span> |
| <span class="menuButton"><g:link class="create" action="create">New Event</g:link></span> |
| </div> |
| |
| <div class="body"> |
| <h1>Registration</h1> |
| <g:if test="${flash.message}"> |
| <div class="message">${flash.message}</div> |
| </g:if> |
| <g:form controller="event" method="post"> |
| <div class="dialog"> |
| <table> |
| <tbody> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Id:</td> |
| |
| <td valign="top" class="value">${event.id}</td> |
| |
| </tr> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Name:</td> |
| |
| <td valign="top" class="value">${event.name}</td> |
| |
| </tr> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Description:</td> |
| |
| <td valign="top" class="value">${event.description}</td> |
| |
| </tr> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Location:</td> |
| |
| <td valign="top" class="value">${event.location}</td> |
| |
| </tr> |
| |
| <tr class="prop"> |
| <td valign="top" class="name">Speakers:</td> |
| |
| <td valign="top" class="value">${event.speakers}</td> |
| |
| </tr> |
| <tr class='prop'> |
| <td valign='top' class='name'> |
| <label for='name'>Name:</label> |
| </td> |
| <td valign='top' class='value ${hasErrors(bean: registration, field: 'name', 'errors')}'> |
| <input type="text" id='name' name='name' value="${fieldValue(bean: registration, field: 'name')}"/> |
| </td> |
| </tr> |
| <tr class='prop'> |
| <td valign='top' class='name'> |
| <label for='email'>Email:</label> |
| </td> |
| <td valign='top' class='value ${hasErrors(bean: registration, field: 'email', 'errors')}'> |
| <input type="text" id='email' name='email' value="${fieldValue(bean: registration, field: 'email')}"/> |
| </td> |
| </tr> |
| <tr class='prop'> |
| <td valign='top' class='name'> |
| <label for='company'>Company:</label> |
| </td> |
| <td valign='top' class='value ${hasErrors(bean: registration, field: 'company', 'errors')}'> |
| <input type="text" id='company' name='company' value="${fieldValue(bean: registration, field: 'company')}"/> |
| </td> |
| </tr> |
| <tr class='prop'> |
| <td valign='top' class='name'> |
| <label for='reminder'>Reminder:</label> |
| </td> |
| <td valign='top' class='value ${hasErrors(bean: registration, field: 'reminder', 'errors')}'> |
| <g:checkBox name='reminder' value="${registration?.reminder}"></g:checkBox> |
| </td> |
| </tr> |
| |
| </tbody> |
| </table> |
| </div> |
| <div class="buttons"> |
| </g:form> |
| <g:form controller="event"> |
| <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> |
| </g:form> |
| </div> |
| </div> |
| </body> |
| </html> |