Changed the layout of the password reset redeem form from a table to a more tradtional form layout.
This commit is contained in:
parent
0052858fdc
commit
8b911179f8
|
@ -1,4 +1,4 @@
|
||||||
from Tags import Span, H3, P, Form, Table, Tr, Th, Td, Input, P, Strong
|
from Tags import Span, H3, P, Form, P, Div, Strong, Br, Input
|
||||||
|
|
||||||
|
|
||||||
class Redeem_reset_note( Span ):
|
class Redeem_reset_note( Span ):
|
||||||
|
@ -17,18 +17,16 @@ class Redeem_reset_note( Span ):
|
||||||
"""
|
"""
|
||||||
),
|
),
|
||||||
Form(
|
Form(
|
||||||
Table(
|
[ Span(
|
||||||
Tr(
|
P(
|
||||||
Th( u"username" ),
|
Div( Strong( u"%s: new password" % user.username ) ),
|
||||||
Th( u"new password" ),
|
Input( type = u"password", name = user.object_id, size = 30, maxlength = 30, class_ = u"text_field" ),
|
||||||
Th( u"new password (again)" ),
|
|
||||||
),
|
),
|
||||||
[ Tr(
|
P(
|
||||||
Td( user.username ),
|
Div( Strong( u"%s: new password (again)" % user.username ) ),
|
||||||
Td( Input( type = u"password", name = user.object_id, size = 30, maxlength = 30, class_ = u"text_field" ) ),
|
Input( type = u"password", name = user.object_id, size = 30, maxlength = 30, class_ = u"text_field" ),
|
||||||
Td( Input( type = u"password", name = user.object_id, size = 30, maxlength = 30, class_ = u"text_field" ) ),
|
),
|
||||||
) for user in users ],
|
) for user in users ],
|
||||||
),
|
|
||||||
P(
|
P(
|
||||||
Input( type = u"hidden", id = u"password_reset_id", name = u"password_reset_id", value = password_reset_id ),
|
Input( type = u"hidden", id = u"password_reset_id", name = u"password_reset_id", value = password_reset_id ),
|
||||||
Input(
|
Input(
|
||||||
|
|
Reference in New Issue