store plain skd, not the prf
[strongswan.git] / src / medsrv / templates / peer / edit.cs
1 <?cs include:"templates/header.cs" ?>
2 <form method="post" name="form">
3 <?cs if:?error ?>
4   <div class="error"><?cs var:error ?></div>
5 <?cs /if ?>
6   <table class="peer">
7     <tr>
8       <td><label for="alias">Alias</label></td>
9       <td><input type="text" id="alias" name="alias" maxlength="30" class="focus" value="<?cs var:alias ?>"/></td>
10     </tr>
11     <tr>
12       <td valign="top"><label for="public_key">Public Key</label></td>
13       <td><textarea id="public_key" name="public_key"><?cs var:public_key ?></textarea></td>
14     </tr>
15     <tr>
16       <td></td>
17       <td align="right">
18         <input type="submit" value="Back" name="back"/>
19         <input type="submit" value="Delete" name="delete" onclick="return confirm('Permanently delete this peer?')"/> 
20         <input type="submit" value="Save" name="save"/>
21       </td>
22     </tr>
23 </table>
24 </form>
25 <?cs include:"templates/footer.cs" ?>