diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-23 16:17:59 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-23 16:20:25 +0100 | 
| commit | f50ef2b482abbb571aec1508fa95458e309a3dc5 (patch) | |
| tree | 50f916c34fd81eb871b524c0c709017ab31bf7fe /archaeological_finds/forms.py | |
| parent | 72c1fef0bb9cdb39f5c6f212ca6b6d44f8132fb1 (diff) | |
| download | Ishtar-f50ef2b482abbb571aec1508fa95458e309a3dc5.tar.bz2 Ishtar-f50ef2b482abbb571aec1508fa95458e309a3dc5.zip | |
Improve modify / search panel for finds
Diffstat (limited to 'archaeological_finds/forms.py')
| -rw-r--r-- | archaeological_finds/forms.py | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 198d69035..83a9e2da3 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -1,6 +1,6 @@  #!/usr/bin/env python  # -*- coding: utf-8 -*- -# Copyright (C) 2010-2015  Étienne Loks  <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2010-2016  Étienne Loks  <etienne.loks_AT_peacefrogsDOTnet>  # This program is free software: you can redistribute it and/or modify  # it under the terms of the GNU Affero General Public License as @@ -148,6 +148,9 @@ DatingFormSet.form_label = _("Dating")  class FindSelect(TableSelect): +    base_finds__cache_short_id = forms.CharField(label=_(u"Short ID")) +    base_finds__cache_complete_id = forms.CharField(label=_(u"Complete ID")) +    label = forms.CharField(label=_(u"Free ID"))      base_finds__context_record__parcel__town = get_town_field()      base_finds__context_record__operation__year = forms.IntegerField(          label=_(u"Year")) | 
