1710.1.8
by Matt Giuca
Added 'New Project' non-AJAX UI to replace old AJAX one. Currently not linked anywhere; AJAX one still works. |
1 |
<html xmlns="http://www.w3.org/1999/xhtml" |
2 |
xmlns:py="http://genshi.edgewall.org/" |
|
3 |
py:strip=""> |
|
4 |
<body py:strip=""> |
|
5 |
<form class="verticalform" method="post" action=""> |
|
6 |
<div>
|
|
7 |
<label>Group size:</label> |
|
1710.1.16
by Matt Giuca
project-form no longer assumes the type of context; pass an extra projectset value. |
8 |
${projectset.max_students_per_group if projectset.max_students_per_group is not None else 'Solo'} |
1710.1.8
by Matt Giuca
Added 'New Project' non-AJAX UI to replace old AJAX one. Currently not linked anywhere; AJAX one still works. |
9 |
</div> |
10 |
<div>
|
|
11 |
<label for="name">Display name:</label> |
|
12 |
<input type="text" id="name" name="name" /> |
|
13 |
<span py:if="'name' in errors" class="form_error">${errors.name}</span> |
|
14 |
</div> |
|
15 |
<div>
|
|
16 |
<label for="short_name">URL name:</label> |
|
17 |
<input type="text" id="short_name" name="short_name" /> |
|
18 |
<span py:if="'short_name' in errors" class="form_error">${errors.short_name}</span> |
|
19 |
</div> |
|
20 |
<div>
|
|
21 |
<label for="deadline">Deadline:</label> |
|
22 |
<input type="text" id="deadline" name="deadline" title="Timestamp in YYYY-MM-DD HH:MM:SS format" /> |
|
23 |
<span py:if="'deadline' in errors" class="form_error">${errors.deadline}</span> |
|
24 |
</div> |
|
25 |
<div>
|
|
26 |
<label for="url">External URL:</label> |
|
27 |
<input type="text" id="url" name="url" /> |
|
28 |
<span py:if="'url' in errors" class="form_error">${errors.url}</span> |
|
29 |
</div> |
|
30 |
<div>
|
|
31 |
<label for="synopsis">Synopsis:</label> |
|
32 |
<textarea id="synopsis" name="synopsis" rows="10" cols="80" /> |
|
33 |
<span py:if="'synopsis' in errors" class="form_error">${errors.synopsis}</span> |
|
34 |
</div> |
|
35 |
<div class="submit form_error" py:if="defined('error_value')" py:content="error_value" /> |
|
36 |
<div class="submit"> |
|
37 |
<input type="submit" value="${submit_button_label}" /> |
|
38 |
</div> |
|
39 |
</form> |
|
40 |
</body> |
|
41 |
</html> |