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"
    # form_fields = ["name"]


association_chooser_viewset = AssociationChooserViewSet("association_chooser")
