This commit is contained in:
meejah 2019-09-11 13:28:24 -06:00
parent 8b7e1c30ab
commit d12078abe2
1 changed files with 21 additions and 20 deletions

View File

@ -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(