--- a/src/pyams_form/interfaces/form.py Fri Jun 09 09:57:28 2017 +0200
+++ b/src/pyams_form/interfaces/form.py Tue Jun 27 13:30:32 2017 +0200
@@ -445,6 +445,13 @@
submit = button.Button(name='submit', title=_("Submit"), condition=check_submit_button)
+class IUncheckedEditFormButtons(Interface):
+ """Unchecked edit form buttons"""
+
+ reset = ResetButton(name='reset', title=_("Reset"))
+ submit = button.Button(name='submit', title=_("Submit"))
+
+
class IModalEditFormButtons(Interface):
"""Modal edit form buttons"""
@@ -452,6 +459,13 @@
submit = button.Button(name='submit', title=_("Submit"), condition=check_submit_button)
+class IUncheckedModalEditFormButtons(Interface):
+ """Unchecked modal edit form buttons"""
+
+ close = CloseButton(name='close', title=_("Cancel"))
+ submit = button.Button(name='submit', title=_("Submit"))
+
+
class IModalDisplayFormButtons(Interface):
"""Modal display form buttons"""