summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-12-26 11:22:03 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-11 17:30:46 +0100
commit307b94638bf02f2af88a13fed9521234c4c6ad72 (patch)
treec69f7d4fa07000487f4bd82b0c4a396437d49ee0 /archaeological_finds/forms_treatments.py
parent82d8f12cf5c408e30416061712ff7a6b01e5c80d (diff)
downloadIshtar-307b94638bf02f2af88a13fed9521234c4c6ad72.tar.bz2
Ishtar-307b94638bf02f2af88a13fed9521234c4c6ad72.zip
Table gallery: optionnaly display the gallery on tables
Diffstat (limited to 'archaeological_finds/forms_treatments.py')
-rw-r--r--archaeological_finds/forms_treatments.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py
index 10c4527ef..18c0697fc 100644
--- a/archaeological_finds/forms_treatments.py
+++ b/archaeological_finds/forms_treatments.py
@@ -74,7 +74,9 @@ class TreatmentFormSelection(forms.Form):
label="", required=False,
widget=widgets.DataTable(
reverse_lazy('get-treatment'),
- TreatmentSelect, models.Treatment),
+ TreatmentSelect, models.Treatment,
+ gallery=True,
+ ),
validators=[valid_id(models.Treatment)])