1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
3 | |
---|
4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
5 | <head> |
---|
6 | <title>${form.title}</title> |
---|
7 | <meta name="viewport" content="width=devicewidth; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> |
---|
8 | <link rel="apple-touch-icon" href="${h.url_for('/static/iui/iui-logo-touch-icon.png')}" /> |
---|
9 | <meta name="apple-touch-fullscreen" content="YES" /> |
---|
10 | <style type="text/css" media="screen">@import "${h.url_for('/static/style/iphone.css')}";</style> |
---|
11 | ## <script type="application/x-javascript" src="${h.url_for('/static/iui/iui.js')}"></script> |
---|
12 | </head> |
---|
13 | |
---|
14 | <body> |
---|
15 | <div class="toolbar"> |
---|
16 | <h1 id="pageTitle">${form.title}</h1> |
---|
17 | <a id="backButton" class="button" href="#"></a> |
---|
18 | </div> |
---|
19 | |
---|
20 | <form title="${form.title}" class="panel" selected="true" name="${form.name}" action="${form.action}" method="post" > |
---|
21 | <fieldset> |
---|
22 | %for input in form.inputs: |
---|
23 | <% |
---|
24 | cls = "row" |
---|
25 | if input.error: |
---|
26 | cls += " form-row-error" |
---|
27 | %> |
---|
28 | <div class="${cls}"> |
---|
29 | %if input.use_label: |
---|
30 | <label> |
---|
31 | ${input.label}: |
---|
32 | </label> |
---|
33 | %endif |
---|
34 | <input type="${input.type}" name="${input.name}" value="${input.value}" size="40"> |
---|
35 | %if input.error: |
---|
36 | <div class="error">Error: ${input.error}</div> |
---|
37 | %endif |
---|
38 | </div> |
---|
39 | |
---|
40 | %endfor |
---|
41 | </fieldset> |
---|
42 | <input class="whiteButton" type="submit" value="${form.submit_text}"> |
---|
43 | |
---|
44 | </form> |
---|
45 | </div> |
---|
46 | </div> |
---|