1 | <form id="settings" class="panel" action="${h.url_for( action='settings' )}" method="post"> |
---|
2 | |
---|
3 | <div class="toolbar"> |
---|
4 | <h1>Settings</h1> |
---|
5 | <a class="back button leftButton" href="#">Cancel</a> |
---|
6 | <input class="button blueButton" type="submit" href="#" value="Save"> |
---|
7 | </div> |
---|
8 | |
---|
9 | <div class="pad"> |
---|
10 | |
---|
11 | |
---|
12 | <h2>User information</h2> |
---|
13 | <fieldset> |
---|
14 | <% |
---|
15 | if t.user: |
---|
16 | email = t.user.email |
---|
17 | else: |
---|
18 | email = "" |
---|
19 | %> |
---|
20 | |
---|
21 | <div class="row"> |
---|
22 | <label>Email</label> |
---|
23 | <input type="text" name="email" value="${email}"> |
---|
24 | </div> |
---|
25 | <div class="row"> |
---|
26 | <label>Password</label> |
---|
27 | <input type="password" name="password" value =""> |
---|
28 | </div> |
---|
29 | </fieldset> |
---|
30 | %if message: |
---|
31 | <div>${message}</div> |
---|
32 | %endif |
---|
33 | </div> |
---|
34 | </form> |
---|