diff --git a/templates/adminpage.html b/templates/adminpage.html index 233c711..0ea0630 100644 --- a/templates/adminpage.html +++ b/templates/adminpage.html @@ -30,7 +30,10 @@
-

Verfügbare Ligen

+ +
@@ -49,6 +52,7 @@
Liga
+
{% if debug %}
diff --git a/tipp/forms.py b/tipp/forms.py index 5541ac1..b8c1068 100644 --- a/tipp/forms.py +++ b/tipp/forms.py @@ -55,8 +55,8 @@ class BlogpostForm(ModelForm): class MandantsForm(forms.Form): mandants = forms.MultipleChoiceField( - label= "Posten in", - widget=forms.CheckboxSelectMultiple({'checked':'checked'}) + label= "Posten in ", + widget=forms.CheckboxSelectMultiple({'checked':'checked'}) ) class UserForm(forms.ModelForm): @@ -69,3 +69,7 @@ class UserProfileForm(forms.ModelForm): model = UserProfile fields = ['avatar'] +""" +class LeagueImportForm(forms.Form): + leagues = +""" diff --git a/tipp/views.py b/tipp/views.py index fe4854c..f1f540f 100644 --- a/tipp/views.py +++ b/tipp/views.py @@ -142,7 +142,7 @@ def profile(request, pk): return render(request, 'registration/profile.html', { 'user_form': user_form, 'profile_form': profile_form, - 'debug': debug, + #'debug': debug, 'img': img} )