From: David ‘Bombe’ Roden Date: Fri, 14 Jan 2011 11:41:10 +0000 (+0100) Subject: Restructure HTML to let the enter key work better. X-Git-Tag: 0.4^2~9^2~22 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=96eb2d28670ac016c053203bbd64aaed0ac14873;ds=sidebyside Restructure HTML to let the enter key work better. --- diff --git a/src/main/resources/templates/editProfile.html b/src/main/resources/templates/editProfile.html index a58ace4..35ef68d 100644 --- a/src/main/resources/templates/editProfile.html +++ b/src/main/resources/templates/editProfile.html @@ -21,11 +21,11 @@ registerInputTextareaSwap("#sone #edit-profile input[name=birth-year]", birthYearDefaultText, "birth-year", true, true); }); getTranslation("WebInterface.DefaultText.FieldName", function(fieldNameDefaultText) { - registerInputTextareaSwap("#sone #edit-profile input[name=field-name]", fieldNameDefaultText, "field-name", true, true); + registerInputTextareaSwap("#sone #add-profile-field input[name=field-name]", fieldNameDefaultText, "field-name", true, true); }); /* hide all the labels. */ - $("#sone #edit-profile label").hide(); + $("#sone #edit-profile label, #sone #add-profile-field label").hide(); }); @@ -88,6 +88,15 @@ <%/foreach> +
+ +
+ + + +
+ +

<%= Page.EditProfile.Fields.AddField.Title|l10n|html>

@@ -101,10 +110,6 @@ -
- -
-
<%include include/tail.html>