aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-04 23:12:41 +0200
committerKim Alvefur <zash@zash.se>2018-08-04 23:12:41 +0200
commit2f1b93f5e9562d885bc974066748b32dc3936133 (patch)
tree2cfd630467d1c20949943663f66b34df344400d6 /util
parent1f1ebdeeccaafd8fb9f1b869aac61efe8021535c (diff)
downloadprosody-2f1b93f5e9562d885bc974066748b32dc3936133.tar.gz
prosody-2f1b93f5e9562d885bc974066748b32dc3936133.zip
util.dataforms: Normalize indentation
Diffstat (limited to 'util')
-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