codekasten/wortschlucker/templates/poll_new.html

39 lines
1.2 KiB
HTML
Raw Normal View History

2010-04-14 20:03:44 +02:00
<!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>Create a poll</title>
</head>
<body>
<h1>New poll</h1>
2010-04-17 22:35:13 +02:00
<div class="poll_new">
<form action="" method="post">
<p>
<label for="author">Your name:</label>
<input type="text" id="author" class="poll_new_text" 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" class="poll_new_text" 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" class="poll_new_text" name="description" />
<span py:if="'description' in errors" class="error">${errors.description}</span>
</p>
<div class="poll_new_buttons">
<input type="submit" name="submit" class="poll_new_button" value="Create poll" />
<input type="submit" name="cancel" class="poll_new_button" value="Cancel" />
</div>
</form>
</div>
2010-04-14 20:03:44 +02:00
</body>
</html>