equal
deleted
inserted
replaced
105 '<br/>', |
105 '<br/>', |
106 tags.input(name=confirmname, value=values[0], type=self.type, **attrs), |
106 tags.input(name=confirmname, value=values[0], type=self.type, **attrs), |
107 ' ', tags.span(form.req._('confirm password'), |
107 ' ', tags.span(form.req._('confirm password'), |
108 **{'class': 'emphasis'})] |
108 **{'class': 'emphasis'})] |
109 return u'\n'.join(inputs) |
109 return u'\n'.join(inputs) |
|
110 |
|
111 |
|
112 class PasswordSingleInput(Input): |
|
113 """<input type='password'> without a confirmation field""" |
|
114 type = 'password' |
110 |
115 |
111 |
116 |
112 class FileInput(Input): |
117 class FileInput(Input): |
113 """<input type='file'>""" |
118 """<input type='file'>""" |
114 type = 'file' |
119 type = 'file' |