Merge "Add help text for edit instance form"
This commit is contained in:
@@ -68,13 +68,16 @@ class UpdateInstanceSecurityGroups(sg_base.BaseSecurityGroups):
|
|||||||
|
|
||||||
|
|
||||||
class UpdateInstanceInfoAction(workflows.Action):
|
class UpdateInstanceInfoAction(workflows.Action):
|
||||||
name = forms.CharField(label=_("Name"),
|
name = forms.CharField(label=_("Name"), max_length=255, help_text=_(
|
||||||
max_length=255)
|
"Max 255 chars. Avoid special chars, leading or trailing spaces.")
|
||||||
|
)
|
||||||
description = forms.CharField(
|
description = forms.CharField(
|
||||||
label=_("Description"),
|
label=_("Description"),
|
||||||
widget=forms.Textarea(attrs={'rows': 4}),
|
widget=forms.Textarea(attrs={'rows': 4}),
|
||||||
max_length=255,
|
max_length=255,
|
||||||
required=False
|
required=False,
|
||||||
|
help_text=_(
|
||||||
|
"Max 255 chars. Avoid special chars, leading or trailing spaces.")
|
||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, request, *args, **kwargs):
|
def __init__(self, request, *args, **kwargs):
|
||||||
|
Reference in New Issue
Block a user