Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 323
- Log:
Add hint text and a link to Textile information to the
'New Ticket' view.
- Author:
- rool
- Date:
- Fri Mar 18 14:43:04 +0000 2011
- Size:
- 1979 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 (<a href="http://redcloth.org/" target="_blank">help and preview tool available here</a>): |
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 colspan="2"> |
42 | <br /> |
43 | If you aren't sure what to assign for the part, release or milestone, |
44 | just leave it blank. |
45 | <br /> |
46 | <br /> |
47 | </td> |
48 | </tr> |
49 | <tr> |
50 | <td>Part: </td> |
51 | <td><%= collection_select 'ticket', 'part_id', @parts, 'id', 'name', { :include_blank => true } -%></td> |
52 | </tr> |
53 | <tr> |
54 | <td>Release:</td> |
55 | <td><%= collection_select 'ticket', 'release_id', @releases, 'id', 'name', { :include_blank => true } -%></td> |
56 | </tr> |
57 | <tr> |
58 | <td>Add to milestone: </td> |
59 | <td><%= collection_select 'ticket', 'milestone_id', @milestones, 'id', 'name', { :include_blank => true } -%></td> |
60 | </tr> |
61 | </table> |
62 | |
63 | </fieldset> |
64 | |
65 | <input type="submit" value="File new ticket" class="submit" /> |
66 | |
67 | <%= end_form_tag %> |
68 | </div> |