1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | |
---|
4 | %if message: |
---|
5 | ${render_msg( message, status )} |
---|
6 | %endif |
---|
7 | |
---|
8 | <div class="toolForm"> |
---|
9 | <div class="toolFormTitle">Reset password for users</div> |
---|
10 | <div class="toolFormBody"> |
---|
11 | <form name="form" action="${h.url_for( controller='admin', action='reset_user_password' )}" method="post" > |
---|
12 | <input name="webapp" type="hidden" value="${webapp}" size=40"/> |
---|
13 | <input type="hidden" name="id" value="${id}" size="40"> |
---|
14 | %for user in users: |
---|
15 | <div class="form-row"> |
---|
16 | <label>Email:</label> |
---|
17 | ${user.email} |
---|
18 | <div style="clear: both"></div> |
---|
19 | </div> |
---|
20 | %endfor |
---|
21 | <div class="form-row"> |
---|
22 | <label>Password:</label> |
---|
23 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
24 | <input type="password" name="password" value="${password}" size="40"> |
---|
25 | </div> |
---|
26 | <div style="clear: both"></div> |
---|
27 | </div> |
---|
28 | <div class="form-row"> |
---|
29 | <label>Confirm password:</label> |
---|
30 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
31 | <input type="password" name="confirm" value="${confirm}" size="40"> |
---|
32 | </div> |
---|
33 | <div style="clear: both"></div> |
---|
34 | </div> |
---|
35 | <input type="submit" name="reset_user_password_button" value="Reset"> |
---|
36 | </form> |
---|
37 | </div> |
---|
38 | </div> |
---|