diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-01-28 21:43:11 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-01-28 21:43:11 +0100 |
commit | 1a51fb5676111ae9cfa4f5ed59b4617335139d75 (patch) | |
tree | d371d9989264ec95cbf30079b896c6a6a8a53f75 /archaeological_operations/forms.py | |
parent | 7157eccfa146c4b2d85e98e10ef8d244509769b7 (diff) | |
download | Ishtar-1a51fb5676111ae9cfa4f5ed59b4617335139d75.tar.bz2 Ishtar-1a51fb5676111ae9cfa4f5ed59b4617335139d75.zip |
Add abstract to operations
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index fc7b732a3..ba937f742 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -565,6 +565,13 @@ if FILES_AVAILABLE: reverse_lazy('autocomplete-file'), associated_model=File), validators=[valid_id(File)], required=False) + +class OperationFormAbstract(forms.Form): + form_label = _(u"Abstract") + abstract = forms.CharField( + label=_(u"Abstract"), + widget=forms.Textarea(attrs={'class': 'xlarge'}), required=False) + SLICING = (("month", _(u"months")), ('year', _(u"years")),) DATE_SOURCE = (('creation', _(u"Creation date")), |