Use head and tail includes on all pages.
[Sone.git] / src / main / resources / templates / editProfile.html
index 4c3c5b8..af92665 100644 (file)
@@ -1,8 +1,45 @@
-<div id="sone">
+<%include include/head.html>
 
        <h1><%= Page.EditProfile.Page.Title|l10n|html></h1>
 
        <div><%= Page.EditProfile.Page.Description|l10n|html></div>
        <div><%= Page.EditProfile.Page.Hint.Optionality|l10n|html></div>
 
-</div>
+       <%if changed>
+               <div><%= Page.EditProfile.Page.Status.Changed|l10n|html></div>
+       <%/if>
+
+       <form method="post">
+               <input type="hidden" name="formPassword" value="<% formPassword|html>" />
+
+               <div>
+                       <label for="first-name"><%= Page.EditProfile.Label.FirstName|l10n|html></label>
+                       <input type="text" name="first-name" value="<% firstName|html>" />
+               </div>
+
+               <div>
+                       <label for="middle-name"><%= Page.EditProfile.Label.MiddleName|l10n|html></label>
+                       <input type="text" name="middle-name" value="<% middleName|html>" />
+               </div>
+
+               <div>
+                       <label for="last-name"><%= Page.EditProfile.Label.LastName|l10n|html></label>
+                       <input type="text" name="last-name" value="<% lastName|html>" />
+               </div>
+
+               <div>
+                       <button type="submit"><%= Page.EditProfile.Button.Save|l10n|html></button>
+               </div>
+
+       </form>
+
+       <h1><%= Page.EditProfile.Backup.Title|l10n|html></h1>
+
+       <div><%= Page.EditProfile.Backup.Description|l10n|html></div>
+
+       <form action="backupProfile.html" method="post">
+               <input type="hidden" name="formPassword" value="<% formPassword|html>" />
+               <button type="submit"><%= Page.EditProfile.Backup.Button.DownloadBackup|l10n|html></button>
+       </form>
+
+<%include include/tail.html>