added changing of polls
This commit is contained in:
parent
f2ef35b429
commit
81df603ba2
6 changed files with 217 additions and 18 deletions
36
wortschlucker/templates/poll_admin.html
Normal file
36
wortschlucker/templates/poll_admin.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<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>Poll settings</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Poll properties</h1>
|
||||
<form action="" method="post">
|
||||
<p>
|
||||
<label for="author">Your name:</label>
|
||||
<input type="text" id="author" name="author" />
|
||||
<span py:if="'author' in errors" class="error">${errors.author}</span>
|
||||
</p>
|
||||
<p>
|
||||
<label for="title">Poll name:</label>
|
||||
<input type="text" id="title" name="title" />
|
||||
<span py:if="'title' in errors" class="error">${errors.title}</span>
|
||||
</p>
|
||||
<p>
|
||||
<label for="description">Description:</label>
|
||||
<input type="text" id="description" name="description" />
|
||||
<span py:if="'description' in errors" class="error">${errors.description}</span>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" name="submit" value="Save poll" />
|
||||
<input type="submit" name="cancel" value="Cancel" />
|
||||
</p>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue