change cancel button to back on maas region/rack set up forms

This commit is contained in:
Michael Hudson-Doyle 2018-06-20 09:05:05 +12:00
parent 8680786da3
commit e5214b2871
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,8 @@ class InstallpathView(BaseView):
class RegionForm(Form): class RegionForm(Form):
cancel_label = _("Back")
username = UsernameField( username = UsernameField(
_("Pick a username for the admin account:"), _("Pick a username for the admin account:"),
help=_("Enter the administrative username.")) help=_("Enter the administrative username."))
@ -137,6 +139,8 @@ RackSecretField = simple_field(RackSecretEditor)
class RackForm(Form): class RackForm(Form):
cancel_label = _("Back")
url = URLField( url = URLField(
_("Ubuntu MAAS Region API address:"), _("Ubuntu MAAS Region API address:"),
help=_("e.g. \"http://192.168.1.1:5240/MAAS\". " help=_("e.g. \"http://192.168.1.1:5240/MAAS\". "