Changeset

9111:bc7473fb7ad3

util.dataforms: Normalize indentation
author Kim Alvefur <zash@zash.se>
date Sat, 04 Aug 2018 23:12:41 +0200
parents 9110:3dbecb399dfb
children 9112:e66d932eeb58
files util/dataforms.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/util/dataforms.lua	Sat Aug 04 21:37:48 2018 +0100
+++ b/util/dataforms.lua	Sat Aug 04 23:12:41 2018 +0200
@@ -113,10 +113,10 @@
 					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