change cancel button to back on maas region/rack set up forms
This commit is contained in:
parent
8680786da3
commit
e5214b2871
|
@ -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\". "
|
||||||
|
|
Loading…
Reference in New Issue