diff --git a/events/forms.py b/events/forms.py index 09ed31b..174b922 100644 --- a/events/forms.py +++ b/events/forms.py @@ -345,6 +345,13 @@ class CancelEventForm(forms.Form): confirm = forms.BooleanField(label="Yes, cancel this event", required=True) reason = forms.CharField(label=_("Reason for cancellation"), widget=forms.widgets.Textarea) +class ChangeEventHostForm(forms.ModelForm): + class Meta: + model = Event + fields = [ + 'team' + ] + class EventInviteMemberForm(forms.Form): member = forms.ChoiceField(label=_("")) diff --git a/events/templates/events/change_team_form.html b/events/templates/events/change_team_form.html new file mode 100644 index 0000000..84d102f --- /dev/null +++ b/events/templates/events/change_team_form.html @@ -0,0 +1,4 @@ +
Select which of your teams you would like to host this event.
+ +{% endblock %} + + +{% block javascript %} + +{% endblock %} diff --git a/get_together/templates/get_together/events/show_event.html b/get_together/templates/get_together/events/show_event.html index ae773b0..a1511fa 100644 --- a/get_together/templates/get_together/events/show_event.html +++ b/get_together/templates/get_together/events/show_event.html @@ -14,19 +14,10 @@ {% block styles %} {% endblock %} @@ -155,6 +146,7 @@ textarea {