class JobAdminForm(ModelForm): application_areas = ApplicationAreasChoiceField(required=False) career_levels = JobPositionChoiceField(required=False) topics = TopicsChoiceField(required=False) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.fields["add_to_euraxess"].label = "Add to EURAXESS" self.fields["created_by"].required = True
class VideoAdminForm(ModelForm): application_areas = ApplicationAreasChoiceField(required=False) topics = TopicsChoiceField(required=False) class Meta: help_texts = { "is_expert": "If checked, the video will be shown on the press area.", }
class InstitutionAdminForm(ModelForm): application_areas = ApplicationAreasChoiceField(required=False) topics = TopicsChoiceField(required=False)
class ProfileAdminForm(ModelForm): application_areas = ApplicationAreasChoiceField(required=False) topics = TopicsChoiceField(required=False) membership_tags = MembershipTagsChoiceField(required=False)
class SessionProposalAdminForm(ModelForm): application_areas = ApplicationAreasChoiceField(required=False) topics = TopicsChoiceField(required=False)