bigbluebutton-Github/bigbluebutton-web/grails-app/views/conference/edit.gsp

86 lines
4.2 KiB
Plaintext
Raw Normal View History

<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>
<td valign="top" class="value ${hasErrors(bean:conference,field:'name','errors')}">
<input type="text" id="name" name="name" value="${fieldValue(bean:conference,field:'name')}"/>
</td>
</tr>
<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>
<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">
<label for="createdBy">Created By:</label>
</td>
<td valign="top" class="value ${hasErrors(bean:conference,field:'createdBy','errors')}">
${conference.createdBy}
</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>