summaryrefslogtreecommitdiff
path: root/ishtar_common/forms_common.py
diff options
context:
space:
mode:
authorroot <root@viserion.(none)>2013-04-04 22:43:13 +0000
committerroot <root@viserion.(none)>2013-04-04 22:43:13 +0000
commit0b9a486b5e79d36c7eb7fa9592e1ebb4ec9ae668 (patch)
treea2c624b1ce76c6d57a8a156766e4863710d8ae19 /ishtar_common/forms_common.py
parent199f535e39880d6ddbbe6a068378fec7ff9fc084 (diff)
parentb2a879890cef5721accff66904be478de488b120 (diff)
downloadIshtar-0b9a486b5e79d36c7eb7fa9592e1ebb4ec9ae668.tar.bz2
Ishtar-0b9a486b5e79d36c7eb7fa9592e1ebb4ec9ae668.zip
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
Diffstat (limited to 'ishtar_common/forms_common.py')
-rw-r--r--ishtar_common/forms_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py
index 34a930e36..52fcfc97a 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -37,7 +37,7 @@ from django.utils.translation import ugettext_lazy as _
import models
import widgets
-from forms import FinalForm, FormSet, reverse_lazy, name_validator
+from forms import FinalForm, FormSet, reverse_lazy, name_validator, TableSelect
def get_town_field(label=_(u"Town"), required=True):
help_text = _(u"<p>Type name, department code and/or postal code of the "
@@ -234,7 +234,7 @@ class SourceForm(forms.Form):
super(SourceForm, self).__init__(*args, **kwargs)
self.fields['source_type'].choices = models.SourceType.get_types()
-class SourceSelect(forms.Form):
+class SourceSelect(TableSelect):
authors = forms.IntegerField(
widget=widgets.JQueryAutoComplete("/" + settings.URL_PATH + \
'autocomplete-author', associated_model=models.Author),