Skip to content

Commit

Permalink
change to button submit
Browse files Browse the repository at this point in the history
  • Loading branch information
agitator committed Jul 1, 2020
1 parent 5bfb33e commit cbb7145
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/bda/plone/orders/browser/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,11 @@ def render_auth_form(self):
},
)
form["submit"] = factory(
"div:label:submit",
"button",
props={
"label": _("anon_auth_label_submit", default=u"Submit"),
"div.class": "submit",
"type": "submit",
"text": _("anon_auth_label_submit", default=u"Submit"),
"class": "btn btn-secondary mt-3",
"handler": self._form_handler,
"action": "submit",
},
Expand Down

0 comments on commit cbb7145

Please sign in to comment.