diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-25 17:35:32 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-25 17:35:32 +0200 |
commit | 2bae28290b1802d27a560da184476b83c711c5a1 (patch) | |
tree | 54218f760a4955d071f934a54811a2be9778894e /ishtar_common/templates/ishtar/wizard/default_wizard.html | |
parent | 9658cb19f4a6066eb652e0e9ec04758053a5d67a (diff) | |
download | Ishtar-2bae28290b1802d27a560da184476b83c711c5a1.tar.bz2 Ishtar-2bae28290b1802d27a560da184476b83c711c5a1.zip |
Add images to finds (refs #1314)
* an abstract model class has been defined to manage image and thumbnail
with resizing on the fly
* max size for images and thumbnails are set in project settings
* new field have been added to Find model to save images and thumbnails
* form and wizard of Find have been changed
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard/default_wizard.html')
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/default_wizard.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html index c14ad281e..28b9850d7 100644 --- a/ishtar_common/templates/ishtar/wizard/default_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html @@ -6,7 +6,7 @@ {% block content %} {% block wizard_head %} <h2>{{wizard_label}}</h2> -<form action="." method="post" name='wizard'>{% csrf_token %} +<form action="." method="post" name='wizard'{% if wizard.form.file_upload %} enctype="multipart/form-data"{% endif %}>{% csrf_token %} <ul id='form_path'> {% for step in previous_steps %} <li>» <button name="form_prev_step" value="{{forloop.counter0}}">{{step.form_label}}</button></li> |