]> asedeno.scripts.mit.edu Git - bluechips.git/blob - bluechips/templates/user/index.mako
added XSRF protection to all forms and associated tests
[bluechips.git] / bluechips / templates / user / index.mako
1 <%inherit file="/base.mako"/>
2
3 <h2>Email Notifications</h2>
4
5 <p>Enter an email address below if you wish to be notified of any updates to transactions involving you. Leave blank to not receive notifications.</p>
6 <form action="${h.url_for(controller='user', action='update')}" method="post">
7   ${h.auth_token_hidden_field()}
8   <table class="form">
9     <tr>
10       <th><label for="new_email">Email</label></th>
11       <td>${h.text('new_email', request.environ['user'].email, size=48)}</td>
12       <td><input type="submit" value="Update" /></td>
13     </tr>
14   </table>
15 </form>