From: David ‘Bombe’ Roden Date: Fri, 14 Jan 2011 12:01:59 +0000 (+0100) Subject: Only show “save profile” button after fields if there are any fields. X-Git-Tag: 0.4^2~9^2~19 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=11efd0534187a67b10448fc17d99120096ee2b28 Only show “save profile” button after fields if there are any fields. --- 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>