X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c76406e46e71cb86cfb440667bfbbe21b36e709e..f73c15a3bd47e9f7fe3a29645f968528fb6415e4:/forum/forms/admin.py
diff --git a/forum/forms/admin.py b/forum/forms/admin.py
index 32d710b..1ff2e85 100644
--- a/forum/forms/admin.py
+++ b/forum/forms/admin.py
@@ -58,9 +58,8 @@ class UrlFieldWidget(forms.TextInput):
return """
-
- """ % {'name': name, 'value': value, 'app_url': settings.APP_URL,
- 'script_alias': settings.FORUM_SCRIPT_ALIAS}
+
+ """ % {'name': name, 'value': value, 'app_url': settings.APP_URL}
class PageForm(forms.Form):
@@ -92,19 +91,6 @@ class PageForm(forms.Form):
comments = forms.BooleanField(label=_("Allow comments"), initial=False, required=False)
-TEXT_IN_CHOICES = (
-('title', _('Title')),
-('body', _('Body')),
-('both', _('Title and Body'))
-)
-
-class NodeManFilterForm(forms.Form):
- node_type = forms.CharField(widget=forms.HiddenInput, initial='all')
- state_type = forms.CharField(widget=forms.HiddenInput, initial='any')
- text = forms.CharField(required=False, widget=forms.TextInput(attrs={'size': 40}))
- text_in = forms.ChoiceField(required=False, widget=forms.RadioSelect, choices=TEXT_IN_CHOICES, initial='title')
-
-
from forum.forms.auth import SimpleRegistrationForm
from forum.forms.general import SetPasswordForm
@@ -118,4 +104,4 @@ class CreateUserForm(SimpleRegistrationForm, SetPasswordForm):
self.fields['email'].label = _('email address')
-
\ No newline at end of file
+