aboutsummaryrefslogtreecommitdiffstats
path: root/util/dataforms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/dataforms.lua')
-rw-r--r--util/dataforms.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua
index 45af72d1..a75e8db0 100644
--- a/util/dataforms.lua
+++ b/util/dataforms.lua
@@ -113,10 +113,10 @@ function form_t.form(layout, data, formtype)
form:tag("value"):text(line):up();
end
elseif field_type == "list-single" then
- form:tag("value"):text(value):up();
+ form:tag("value"):text(value):up();
elseif field_type == "list-multi" then
- for _, val in ipairs(value) do
- form:tag("value"):text(val):up();
+ for _, val in ipairs(value) do
+ form:tag("value"):text(val):up();
end
end
end