fix form
This commit is contained in:
parent
8b7e1c30ab
commit
d12078abe2
|
@ -896,7 +896,8 @@ class DirectoryAsHTML(Element):
|
|||
id='mkdir-mdmf',
|
||||
)
|
||||
|
||||
mkdir_form = tags.form([
|
||||
mkdir_form = tags.form(
|
||||
[
|
||||
tags.fieldset([
|
||||
tags.input(type="hidden", name="t", value="mkdir"),
|
||||
tags.input(type="hidden", name="when_done", value="."),
|
||||
|
@ -914,13 +915,13 @@ class DirectoryAsHTML(Element):
|
|||
type="submit",
|
||||
class_="btn",
|
||||
value="Create",
|
||||
)
|
||||
),
|
||||
])
|
||||
],
|
||||
action=".",
|
||||
method="post",
|
||||
enctype="multipart/form-data",
|
||||
)
|
||||
])
|
||||
forms.append(tags.div(mkdir_form, class_="freeform-form"))
|
||||
|
||||
upload_chk = tags.input(
|
||||
|
|
Loading…
Reference in New Issue