7f2f9c1201
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@638 af16638f-c34d-0410-8cfa-b39d5352b314
100 lines
4.7 KiB
Plaintext
100 lines
4.7 KiB
Plaintext
|
|
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<meta name="layout" content="main" />
|
|
<title>Create User</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">User List</g:link></span>
|
|
</div>
|
|
<div class="body">
|
|
<h1>Create User</h1>
|
|
<g:if test="${flash.message}">
|
|
<div class="message">${flash.message}</div>
|
|
</g:if>
|
|
<g:hasErrors bean="${user}">
|
|
<div class="errors">
|
|
<g:renderErrors bean="${user}" as="list" />
|
|
</div>
|
|
</g:hasErrors>
|
|
<g:form action="save" method="post" >
|
|
<div class="dialog">
|
|
<table>
|
|
<tbody>
|
|
|
|
<tr class="prop">
|
|
<td valign="top" class="name">
|
|
<label for="email">Email:</label>
|
|
</td>
|
|
<td valign="top" class="value ${hasErrors(bean:user,field:'email','errors')}">
|
|
<input type="text" id="email" name="email" value="${fieldValue(bean:user,field:'email')}"/>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="prop">
|
|
<td valign="top" class="name">
|
|
<label for="password">Password:</label>
|
|
</td>
|
|
<td valign="top" class="value ${hasErrors(bean:user,field:'password','errors')}">
|
|
<input type="text" id="password" name="password" value="${fieldValue(bean:user,field:'password')}"/>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="prop">
|
|
<td valign="top" class="name">
|
|
<label for="fullName">Full Name:</label>
|
|
</td>
|
|
<td valign="top" class="value ${hasErrors(bean:user,field:'fullName','errors')}">
|
|
<input type="text" id="fullName" name="fullName" value="${fieldValue(bean:user,field:'fullName')}"/>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="prop">
|
|
<td valign="top" class="name">
|
|
<label for="conferences">Conferences:</label>
|
|
</td>
|
|
<td valign="top" class="value ${hasErrors(bean:user,field:'conferences','errors')}">
|
|
|
|
<ul>
|
|
<g:each var="c" in="${user?.conferences?}">
|
|
<li><g:link controller="conference" action="show" id="${c.id}">${c}</g:link></li>
|
|
</g:each>
|
|
</ul>
|
|
<g:link controller="conference" params="["user.id":user?.id]" action="create">Add Conference</g:link>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="prop">
|
|
<td valign="top" class="name">
|
|
<label for="dateCreated">Date Created:</label>
|
|
</td>
|
|
<td valign="top" class="value ${hasErrors(bean:user,field:'dateCreated','errors')}">
|
|
<g:datePicker name="dateCreated" value="${user?.dateCreated}" ></g:datePicker>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="prop">
|
|
<td valign="top" class="name">
|
|
<label for="lastUpdated">Last Updated:</label>
|
|
</td>
|
|
<td valign="top" class="value ${hasErrors(bean:user,field:'lastUpdated','errors')}">
|
|
<g:datePicker name="lastUpdated" value="${user?.lastUpdated}" ></g:datePicker>
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="buttons">
|
|
<span class="button"><input class="save" type="submit" value="Create" /></span>
|
|
</div>
|
|
</g:form>
|
|
</div>
|
|
</body>
|
|
</html>
|