From: David ‘Bombe’ Roden Date: Fri, 14 Jan 2011 13:46:14 +0000 (+0100) Subject: Use Javascript filter to print value. X-Git-Tag: 0.4^2~9^2~15 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9219b1f99194ae462c6b542f65666a1cc4589066;p=Sone.git Use Javascript filter to print value. --- diff --git a/src/main/resources/templates/editProfile.html b/src/main/resources/templates/editProfile.html index ae0a522..4ae0ce6 100644 --- a/src/main/resources/templates/editProfile.html +++ b/src/main/resources/templates/editProfile.html @@ -25,7 +25,7 @@ }); <%foreach fields field> - registerInputTextareaSwap("#sone #edit-profile input[name=field-<% loop.count>]", "<% field.key|html>", "field-<% loop.count>", true, true); + registerInputTextareaSwap("#sone #edit-profile input[name=field-<% loop.count>]", <% field.key|js>, "field-<% loop.count>", true, true); <%/foreach> /* hide all the labels. */