Commit eca6ce52 by Fukász Rómeó Ervin

ceph, storage: fix create form path label

parent c58f5c34
...@@ -1670,6 +1670,9 @@ class DataStoreForm(ModelForm): ...@@ -1670,6 +1670,9 @@ class DataStoreForm(ModelForm):
class Meta: class Meta:
model = DataStore model = DataStore
fields = ("type", "name", "path", "hostname", ) fields = ("type", "name", "path", "hostname", )
labels = {
'path': _('Path'),
}
widgets = {"type": HiddenInput()} widgets = {"type": HiddenInput()}
...@@ -1692,6 +1695,9 @@ class CephDataStoreForm(DataStoreForm): ...@@ -1692,6 +1695,9 @@ class CephDataStoreForm(DataStoreForm):
model = DataStore model = DataStore
fields = ("type", "name", "path", "hostname", fields = ("type", "name", "path", "hostname",
"ceph_user",) "ceph_user",)
labels = {
'path': _('Poolname'),
}
class StorageListSearchForm(forms.Form): class StorageListSearchForm(forms.Form):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment