dnscms: improve associations app
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from wagtail.admin.viewsets.chooser import ChooserViewSet
|
||||
|
||||
|
||||
class AssociationChooserViewSet(ChooserViewSet):
|
||||
model = "associations.AssociationPage"
|
||||
icon = "group"
|
||||
choose_one_text = "Choose an association"
|
||||
choose_another_text = "Choose another association"
|
||||
edit_item_text = "Edit this association"
|
||||
choose_one_text = _("Choose an association")
|
||||
choose_another_text = _("Choose another association")
|
||||
edit_item_text = _("Edit this association")
|
||||
# form_fields = ["name"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user