diff options
Diffstat (limited to 'lib/viewfunctions.lua')
-rw-r--r-- | lib/viewfunctions.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua index a8ad444..e927e2b 100644 --- a/lib/viewfunctions.lua +++ b/lib/viewfunctions.lua @@ -134,6 +134,9 @@ function displayformitem(myitem, name, viewtype) if (myitem.value == true) then myitem.checked = "" end myitem.value = "true" io.write(html.form.checkbox(myitem) .. "\n") + elseif myitem.type == "list" then + myitem.value = table.concat(myitem.value, "\n") + io.write(html.form.longtext(myitem) .. "\n") else io.write((html.form[myitem.type](myitem) or "") .. "\n") end |