improve event organizer selection, show on web

This commit is contained in:
2024-06-10 03:06:26 +02:00
parent 2f3b359d9d
commit f7debf565d
17 changed files with 292 additions and 16 deletions

View File

@ -1,2 +1,13 @@
from wagtail.admin.viewsets.chooser import ChooserViewSet
# Create your views here.
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"
# form_fields = ["name"]
association_chooser_viewset = AssociationChooserViewSet("association_chooser")