equal
deleted
inserted
replaced
217 form = PFForm(self.req, redirect_path='perdu.com', entity=self.entity) |
217 form = PFForm(self.req, redirect_path='perdu.com', entity=self.entity) |
218 self.assertTextEquals(self._render_entity_field('upassword', form), |
218 self.assertTextEquals(self._render_entity_field('upassword', form), |
219 '''<input id="upassword:%(eid)s" name="upassword:%(eid)s" tabindex="1" type="password" value="__cubicweb_internal_field__" /> |
219 '''<input id="upassword:%(eid)s" name="upassword:%(eid)s" tabindex="1" type="password" value="__cubicweb_internal_field__" /> |
220 <br/> |
220 <br/> |
221 <input name="upassword-confirm:%(eid)s" tabindex="1" type="password" value="__cubicweb_internal_field__" /> |
221 <input name="upassword-confirm:%(eid)s" tabindex="1" type="password" value="__cubicweb_internal_field__" /> |
222 |
222   |
223 <span class="emphasis">confirm password</span>''' % {'eid': self.entity.eid}) |
223 <span class="emphasis">confirm password</span>''' % {'eid': self.entity.eid}) |
224 |
224 |
225 |
225 |
226 def test_datefield(self): |
226 def test_datefield(self): |
227 class DFForm(EntityFieldsForm): |
227 class DFForm(EntityFieldsForm): |