Commits

paj  committed af8f10b

Add CustomisedTableForm

  • Participants
  • Parent commits 12b0089

Comments (0)

Files changed (2)

File tw2/dynforms/__init__.py

 """
 
 from widgets import (
-    CustomisedForm, LinkContainer, GrowingGridLayout,
+    CustomisedForm, CustomisedTableForm, LinkContainer, GrowingGridLayout,
     HidingTableLayout, HidingListLayout,
     HidingSingleSelectField, HidingCheckBox, HidingCheckBoxList,
     HidingRadioButtonList, CalendarDatePicker, CalendarDateTimePicker)

File tw2/dynforms/widgets.py

         if self.prevent_multi_submit:
             self.submit.safe_modify('attrs')
             self.submit.attrs['onclick'] = 'return twd_no_multi_submit(this);'
+
+
+class CustomisedTableForm(CustomisedForm, twf.TableForm):
+    pass