Parent: [40bf73] (diff)

Child: [836acd] (diff)

Download this file

new_ticket.html    51 lines (41 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="master.html" />
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
<title>New ${modelname}</title>
</head>
<body>
<form method="POST" action="../save_ticket">
<input type="hidden" name="ticket_num" value=""/>
<label for="summary">Name:</label>
<br/>
<input name="summary" value=""/>
<br/>
<label for="status">status:</label>
<br/>
<select name="status">
<option py:for="name in globals.status_names.split(',')" value="$name">$name</option>
</select>
<br/>
<label for="description">Description</label>
<br/>
<textarea name="description"></textarea>
<br/>
<div py:if="globals.custom_fields">
<div class="span-24 last quiet prepend-top bottom-liner">Custom Fields</div>
<div py:for="field in globals.custom_fields.split(',')">
<label for="$field">$field:</label>
<br/>
<input name="$field" type="text" value=""/>
</div>
</div>
${user_tags_edit('tags', {'tags':[]})}
<br/>
<input type="submit" value="Create Ticket"/>
</form>
</body>
</html>