Actually insert the name of the field! Fixes #56.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 03:10:06 +0000 (04:10 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 03:10:41 +0000 (04:10 +0100)
src/main/resources/templates/insert/sone.xml

index 9ba037f..e25cac9 100644 (file)
@@ -19,7 +19,7 @@
                <fields>
                        <%foreach currentSone.profile.fields field>
                        <field>
-                               <field-name><% field.key|xml></field-name>
+                               <field-name><% field.name|xml></field-name>
                                <field-value><% field.value|xml></field-value>
                        </field>
                        <%/foreach>