|
Last change
on this file since 126 was
101,
checked in by gav, 17 years ago
|
|
Remove hidden person.id field as it is not used due to not being secure.
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | <head> |
|---|
| 2 | <meta name="layout" content="main" /> |
|---|
| 3 | <title>Change Password</title> |
|---|
| 4 | </head> |
|---|
| 5 | |
|---|
| 6 | <body onload="document.changePasswordForm.pass.focus();"> |
|---|
| 7 | <div class="nav"> |
|---|
| 8 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
|---|
| 9 | </div> |
|---|
| 10 | |
|---|
| 11 | <div class="body"> |
|---|
| 12 | <h1>Change Password</h1> |
|---|
| 13 | <g:if test="${flash.message}"> |
|---|
| 14 | <div class="message">${flash.message}</div> |
|---|
| 15 | </g:if> |
|---|
| 16 | <g:hasErrors bean="${personInstance}"> |
|---|
| 17 | <div class="errors"> |
|---|
| 18 | <g:renderErrors bean="${personInstance}" as="list" /> |
|---|
| 19 | </div> |
|---|
| 20 | </g:hasErrors> |
|---|
| 21 | |
|---|
| 22 | <g:form name="changePasswordForm" id="changePasswordForm"> |
|---|
| 23 | <div class="dialog"> |
|---|
| 24 | <table> |
|---|
| 25 | <tbody> |
|---|
| 26 | |
|---|
| 27 | <tr class="prop"> |
|---|
| 28 | <td valign="top" class="name"><label for="pass">Password:</label></td> |
|---|
| 29 | <td valign="top" class="value ${hasErrors(bean:personInstance,field:'pass','errors')}"> |
|---|
| 30 | <input type="password" id="pass" name="pass" /> |
|---|
| 31 | </td> |
|---|
| 32 | </tr> |
|---|
| 33 | |
|---|
| 34 | <tr class="prop"> |
|---|
| 35 | <td valign="top" class="name"><label for="confirmPass">Confirm password:</label></td> |
|---|
| 36 | <td valign="top" class="value"> |
|---|
| 37 | <input type="password" id="confirmPass" name="confirmPass" /> |
|---|
| 38 | </td> |
|---|
| 39 | </tr> |
|---|
| 40 | |
|---|
| 41 | </tbody> |
|---|
| 42 | </table> |
|---|
| 43 | </div> |
|---|
| 44 | |
|---|
| 45 | <div class="buttons"> |
|---|
| 46 | <span class="button"><g:actionSubmit class="save" value="Change Password" action="changePassword"/></span> |
|---|
| 47 | </div> |
|---|
| 48 | </g:form> |
|---|
| 49 | |
|---|
| 50 | </div> |
|---|
| 51 | |
|---|
| 52 | </body> |
|---|
Note: See
TracBrowser
for help on using the repository browser.