import rt 3.4.6
[freeside.git] / rt / html / SelfService / Create.html
index a2cfd9f..bfa7534 100644 (file)
@@ -1,8 +1,8 @@
-%# {{{ BEGIN BPS TAGGED BLOCK
+%# BEGIN BPS TAGGED BLOCK {{{
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2004 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
 %#                                          <jesse@bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -42,7 +42,7 @@
 %# works based on those contributions, and sublicense and distribute
 %# those contributions and any derivatives thereof.
 %# 
-%# }}} END BPS TAGGED BLOCK
+%# END BPS TAGGED BLOCK }}}
 <& Elements/Header, Title => loc("Create a ticket") &>
 
 <FORM ACTION="Display.html" METHOD="POST" ENCTYPE="multipart/form-data">
 
 <TABLE>
 <TR>
-<TD>
+<TD class="label">
 <&|/l&>Queue</&>:
-</TD>
-<TD>
-<& /Elements/SelectNewTicketQueue, Verbose => 'True' &>
+</td>
+<td class="value">
+    <input type="hidden" name="Queue" value="<%$queue_obj->id%>">
+    <b><%$queue_obj->Name%></b> (<%$queue_obj->Description%>)
 </TD>
 </TR>
 <TR>
-<TD>
+<TD class="label">
 <&|/l&>Requestors</&>:
 </TD>
-<TD>
+<TD class="value">
 <INPUT Name="Requestors" Value="<%$session{CurrentUser}->EmailAddress%>" SIZE=20>
 </TD>
 </TR>
 <TR>
-<TD>
+<TD class="label">
 <&|/l&>Cc</&>:
 </TD>
-<TD>
+<TD class="value">
  <INPUT NAME="Cc" SIZE=20>
 </TD>
 </TR>
 <TR>
-<TD>
+<TD class="label">
 <&|/l&>Subject</&>:
 </TD>
-<TD>
-<INPUT Name="Subject" SIZE=60 MAXSIZE=100 value="">
+<TD class="value">
+<INPUT Name="Subject" SIZE=60 MAXSIZE=200 value="">
 </TD>
 </TR>
-<TR>
-<TD>
+<tr>
+    <td colspan="2">
+        <& /Ticket/Elements/EditCustomFields, QueueObj => $queue_obj &>
+    </td>
+</tr>
+<tr>
+<TD class="label">
 <&|/l&>Attach file</&>:
 </TD>
-<TD>
-<INPUT Name="Attach" type=file>
+<TD class="value">
+<INPUT Name="Attach" type="file">
 </TD>
 </TR>
 <TR>
 
 
 </FORM>
+<%args>
+$Queue => undef
+</%args>
+<%init>
+my $queue_obj = RT::Queue->new($session{'CurrentUser'});
+$queue_obj->Load($Queue);
+</%init>