Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 196
- Log:
Corrected HTML-style tags to XHTML-style self-closing tags
so that the "new ticket" page validates. Was an attempt to
fix Ticket #106, but didn't make any difference to that
particular fault.
- Author:
- rool
- Date:
- Wed Apr 04 22:09:22 +0100 2007
- Size:
- 1683 Bytes
1 | <% @page_title = 'New ticket' %> |
2 | |
3 | <div id="content"> |
4 | <div class="breadcrumbs"> |
5 | <ul> |
6 | <li><%= link_to 'Tickets', :action => 'index' -%></li> |
7 | <li>» New Ticket</li> |
8 | </ul> |
9 | </div> |
10 | |
11 | <%= error_messages_for 'ticket' %> |
12 | |
13 | <%= form_tag :action => 'new' %> |
14 | <fieldset> |
15 | <legend>Create a new ticket</legend> |
16 | |
17 | <label class="first"> |
18 | Name or Email: |
19 | <% if hubssolib_privileged? -%> |
20 | <input id="ticket_author" name="ticket[author]" size="30" type="text" value="<%= h(@ticket.author) %>" /> |
21 | <% else -%> |
22 | <input id="ticket_author" name="ticket[author]" size="30" type="hidden" value="<%= h(@ticket.author) %>" /> |
23 | <br /><b><%= h(@ticket.author) %></b><br style="margin-bottom: 10px" /> |
24 | <% end -%> |
25 | </label> |
26 | |
27 | <br /> |
28 | <label>Summary: |
29 | <%= text_field 'ticket', 'summary' -%></label> |
30 | |
31 | <br /> |
32 | <label>Description: |
33 | <%= text_area 'ticket', 'content' -%></label> |
34 | |
35 | <table> |
36 | <tr> |
37 | <td>Severity:</td> |
38 | <td><%= collection_select 'ticket', 'severity_id', @severities, 'id', 'name' -%></td> |
39 | </tr> |
40 | <tr> |
41 | <td>Part: </td> |
42 | <td><%= collection_select 'ticket', 'part_id', @parts, 'id', 'name', { :include_blank => true } -%></td> |
43 | </tr> |
44 | <tr> |
45 | <td>Release:</td> |
46 | <td><%= collection_select 'ticket', 'release_id', @releases, 'id', 'name', { :include_blank => true } -%></td> |
47 | </tr> |
48 | <tr> |
49 | <td>Add to milestone: </td> |
50 | <td><%= collection_select 'ticket', 'milestone_id', @milestones, 'id', 'name', { :include_blank => true } -%></td> |
51 | </tr> |
52 | </table> |
53 | |
54 | </fieldset> |
55 | |
56 | <input type="submit" value="File new ticket" class="submit" /> |
57 | |
58 | <%= end_form_tag %> |
59 | </div> |