We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c0355b commit 78f34d0Copy full SHA for 78f34d0
1 file changed
py4web/utils/form.py
@@ -596,6 +596,7 @@ def __call__(
596
597
# Set the deletable json field attributes.
598
submit_button_attributes["_label"] = T("Submit")
599
+ submit_button_attributes["_name"] = "_submit"
600
submit_button_attributes["_type"] = submit_button_field_type
601
submit_button_attributes["_class"] = self.classes["input[type=submit]"]
602
@@ -604,6 +605,7 @@ def __call__(
604
605
606
controls["submit"] = INPUT(
607
_type=submit_button_field_type,
608
+ _name="_submit",
609
_value=T("Submit"),
610
_class=self.classes["input[type=submit]"],
611
)
0 commit comments