Use head and tail includes on all pages.
[Sone.git] / src / main / resources / templates / editProfile.html
1 <%include include/head.html>
2
3         <h1><%= Page.EditProfile.Page.Title|l10n|html></h1>
4
5         <div><%= Page.EditProfile.Page.Description|l10n|html></div>
6         <div><%= Page.EditProfile.Page.Hint.Optionality|l10n|html></div>
7
8         <%if changed>
9                 <div><%= Page.EditProfile.Page.Status.Changed|l10n|html></div>
10         <%/if>
11
12         <form method="post">
13                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
14
15                 <div>
16                         <label for="first-name"><%= Page.EditProfile.Label.FirstName|l10n|html></label>
17                         <input type="text" name="first-name" value="<% firstName|html>" />
18                 </div>
19
20                 <div>
21                         <label for="middle-name"><%= Page.EditProfile.Label.MiddleName|l10n|html></label>
22                         <input type="text" name="middle-name" value="<% middleName|html>" />
23                 </div>
24
25                 <div>
26                         <label for="last-name"><%= Page.EditProfile.Label.LastName|l10n|html></label>
27                         <input type="text" name="last-name" value="<% lastName|html>" />
28                 </div>
29
30                 <div>
31                         <button type="submit"><%= Page.EditProfile.Button.Save|l10n|html></button>
32                 </div>
33
34         </form>
35
36         <h1><%= Page.EditProfile.Backup.Title|l10n|html></h1>
37
38         <div><%= Page.EditProfile.Backup.Description|l10n|html></div>
39
40         <form action="backupProfile.html" method="post">
41                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
42                 <button type="submit"><%= Page.EditProfile.Backup.Button.DownloadBackup|l10n|html></button>
43         </form>
44
45 <%include include/tail.html>