From 11efd0534187a67b10448fc17d99120096ee2b28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 14 Jan 2011 13:01:59 +0100 Subject: [PATCH] =?utf8?q?Only=20show=20=E2=80=9Csave=20profile=E2=80=9D?= =?utf8?q?=20button=20after=20fields=20if=20there=20are=20any=20fields.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/editProfile.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/resources/templates/editProfile.html b/src/main/resources/templates/editProfile.html index ecdf2a7..cac92a1 100644 --- a/src/main/resources/templates/editProfile.html +++ b/src/main/resources/templates/editProfile.html @@ -86,11 +86,13 @@
- <%/foreach> -
- -
+ <%if fieldLoop.last> +
+ +
+ <%/if> + <%/foreach> -- 2.7.4