store plain skd, not the prf
[strongswan.git] / src / medsrv / templates / user / edit.cs
1 <?cs include:"templates/header.cs" ?>
2 <form method="post">
3 <?cs if:?error ?>
4   <div class="error"><?cs var:error ?></div>
5 <?cs /if ?>
6   <table class="user">
7     <tr>
8       <td><label for="old_login">Username</label></td>
9       <td><input type="text" id="old_login" name="old_login" maxlength="30" value="<?cs var:old_login ?>" /></td>
10     </tr>
11     <tr>
12       <td><label for="old_password">Old password</label></td>
13       <td><input type="password" id="old_password" name="old_password"/></td>
14       <td></td>
15     </tr>
16     <tr>
17       <td><label for="new_password">New password</label></td>
18       <td><input type="password" id="new_password" name="new_password"/></td>
19       <td><small>min. <?cs var:password_length ?> characters</small></td>
20     </tr>
21     <tr>
22       <td><label for="confirm_password">Confirm new password</label></td>
23       <td><input type="password" id="confirm_password" name="confirm_password"/></td>
24     </tr>
25     <tr>
26       <td></td>
27       <td class="right">
28         <input type="submit" value="Back" name="back"/> 
29         <input type="submit" value="Delete" name="delete" onclick="return confirm('Permanently delete your account?')"/> 
30         <input type="submit" value="Save" name="save"/>
31       </td>
32     </tr>
33   </table>
34 </form>
35 <?cs include:"templates/footer.cs" ?>