File: action_edit.html

package info (click to toggle)
python-werkzeug 1.0.1%2Bdfsg1-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,888 kB
  • sloc: python: 21,897; javascript: 173; makefile: 36; xml: 16
file content (26 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?python
  hide_navigation = new
  page_action = 'edit'
?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude"
      xmlns:py="http://genshi.edgewall.org/"><xi:include href="layout.html" />
  <head>
    <title>${'Create' if new else 'Edit'} Page</title>
  </head>
  <body>
    <h1>${'Create' if new else 'Edit'} “${page.title or page_name}”</h1>
    <p>
      You can now ${'create' if new else 'modify'} the page contents.  To
      format your text you can use <a href="http://www.wikicreole.org/">creole markup</a>.
    </p>
    <p class="error" py:if="error">${error}</p>
    <form action="" method="post">
      <p><textarea name="text" rows="15" cols="50">${revision.text}</textarea></p>
      <div class="actions">
        <input type="text" name="change_note" value="${change_note}" size="50" />
        <input type="submit" value="Save" />
        <input type="submit" name="cancel" value="Cancel" />
      </div>
    </form>
  </body>
</html>