& /Elements/Header, Title=>"Update Ticket ".$Ticket->Id.": ".$Ticket->Subject &> <& /Ticket/Elements/Tabs, id => $id &> <& /Elements/TitleBoxStart, title => 'Update ticket '.$Ticket->Id &>
<%INIT> ## Things needed in the template - we'll do the processing here, just ## for the convinience: my $CommentDefault=$Action eq "Comment" ? "SELECTED" : ""; my $ResponseDefault=$Action eq "Respond" ? "SELECTED" : ""; use RT::Ticket; my $Ticket=RT::Ticket->new($session{'CurrentUser'}); $Ticket->Load($id) || Abort ("Couldn't load ticket."); %INIT> <%ARGS> $id => undef $Action => undef %ARGS>