Changes between Version 1 and Version 2 of Ticket #29189, comment 6
- Timestamp:
- Mar 9, 2018, 4:44:49 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29189, comment 6
v1 v2 4 4 5 5 # Time to show off for some user love ! 6 assert a.adapters.add('elementui.Form').steps.render( ).payload.rendered == '<an awesome form>'6 assert a.adapters.add('elementui.Form').steps.render(data=request.POST).payload.rendered == '<an awesome form>' 7 7 8 8 # So yeah, this kind of presentational adapters will love visiting a's map 9 9 # and add()'s adapters the see fit ! 10 assert a.adapters.add('googlemdc.Form').steps.render( ).payload.rendered == '<an awesome form>'10 assert a.adapters.add('googlemdc.Form').steps.render(data=request.POST).payload.rendered == '<an awesome form>' 11 11 12 12 # Let's just make an HTTP response !