tweaked fieldset form to allow multipart (file uploads)
This commit is contained in:
parent
7f2c2485de
commit
005d276da4
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<% _focus_rendered = False %>
|
||||
|
||||
<div class="fieldset-form ${class_}">
|
||||
${h.form(fieldset.url_action+('?uuid='+fieldset.model.uuid) if fieldset.edit else '')}
|
||||
${h.form(fieldset.url_action+('?uuid='+fieldset.model.uuid) if fieldset.edit else '', enctype='multipart/form-data')}
|
||||
|
||||
% for error in fieldset.errors.get(None, []):
|
||||
<div class="fieldset-error">${error}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue