Restructure HTML to let the enter key work better.
[Sone.git] / src / main / resources / templates / editProfileField.html
1 <%include include/head.html>
2
3         <h1><%= Page.EditProfileField.Page.Title|l10n|html></h1>
4
5         <p><%= Page.EditProfileField.Text|l10n|html></p>
6
7         <%if duplicateFieldName>
8                 <p><%= Page.EditProfileField.Error.DuplicateFieldName|l10n|html></p>
9         <%/if>
10
11         <form method="post">
12                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
13                 <input type="hidden" name="field" value="<% fieldIndex>" />
14                 <div>
15                         <input type="text" name="name" value="<% fieldName|html>" />
16                         <button type="submit" name="save" value="true"><%= Page.EditProfileField.Button.Save|l10n|html></button>
17                 </div>
18                 <p>
19                         <button type="reset"><%= Page.EditProfileField.Button.Reset|l10n|html></button>
20                         <button type="submit" name="cancel" value="true"><%= Page.EditProfileField.Button.Cancel|l10n|html></button>
21                 </p>
22         </form>
23
24 <%include include/tail.html>