Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 3 and Version 4 of FormValidationWithWidgetsTwo


Ignore:
Timestamp:
08/27/06 14:39:55 (13 years ago)
Author:
alberto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FormValidationWithWidgetsTwo

    v3 v4  
    2323    field2 = widgets.PasswordField('pwd2') 
    2424    form = widgets.TableForm(fields=[field1, field2], name='myform', 
    25                              validator=MySchema(), action="test") 
     25                             validator=MySchema()) 
    2626    return form 
    2727 
     
    3838}}} 
    3939 
     40In your template, add: 
     41 
     42{{{ 
     43form.display(obj, action=action) 
     44}}} 
     45 
    4046Now you only have to add this line to your root controller as a class method 
    4147{{{