started 'new poll' css
This commit is contained in:
parent
7ade0cc419
commit
81bf19c802
8 changed files with 239 additions and 28 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue