Add helper text to “add Sone” input field.
[Sone.git] / src / main / resources / templates / knownSones.html
index f26e15a..bbdae37 100644 (file)
@@ -1,13 +1,19 @@
 <%include include/head.html>
 
+       <script language="javascript">
+               $(document).ready(function() {
+                       registerInputTextareaSwap("#add-sone input[name=request-uri]", "Sone Request Key");
+               })
+       </script>
+
        <h1><%= Page.Index.AddSone.Title|l10n|html></h1>
 
        <div><%= Page.Index.AddSone.Description|l10n|html></div>
 
-       <form action="addSone.html" method="post">
+       <form id="add-sone" action="addSone.html" method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                <input type="hidden" name="returnPage" value="<% request.url|html>" />
-               <input id="addsone" type="text" name="request-uri" />
+               <input type="text" name="request-uri" />
                <button type="submit"><%= Page.Index.AddSone.Button.Add|l10n|html></button>
        </form>