started 'new poll' css

This commit is contained in:
phear 2010-04-17 20:35:13 +00:00
parent 7ade0cc419
commit 81bf19c802
8 changed files with 239 additions and 28 deletions

View file

@ -9,28 +9,29 @@
</head>
<body>
<h1>New poll</h1>
<form action="" method="post">
<p>
<label for="author">Your name:</label>
<input type="text" id="author" class="form-entry" 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="form-entry" 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="form-entry" name="description" />
<span py:if="'description' in errors" class="error">${errors.description}</span>
</p>
<p>
<input type="submit" name="submit" value="Create poll" />
<input type="submit" name="cancel" value="Cancel" />
</p>
</form>
<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>
</body>
</html>