<&|/l&>Status&>:
<& /Elements/SelectStatus, Name=>"Status", DefaultLabel => loc("[_1] (Unchanged)", loc($t->Status)), Default => $ARGS{'Status'} || ($t->Status eq $DefaultStatus ? undef : $DefaultStatus)&>
 
<&|/l&>Owner&>:
<& /Elements/SelectOwner,
    Name         => "Owner",
    TicketObj    => $t,
    QueueObj     => $t->QueueObj,
    DefaultLabel => loc("[_1] (Unchanged)", $t->OwnerObj->Name),
    Default      => $ARGS{'Owner'}
&>
 
<&|/l&>Update Type&>:
 
 
<&|/l&>Message&>:
% if (exists $ARGS{UpdateContent}) {
% # preserve QuoteTransaction so we can use it to set up sane references/in/reply to
% my $temp = $ARGS{'QuoteTransaction'};
% delete $ARGS{'QuoteTransaction'};
<& /Elements/MessageBox, Name=>"UpdateContent", Default=>$ARGS{UpdateContent}, IncludeSignature => 0, %ARGS&>
% $ARGS{'QuoteTransaction'} = $temp;
% } else {
% my $IncludeSignature = 1;
% $IncludeSignature = 0 if $Action ne 'Respond' && !RT->Config->Get('MessageBoxIncludeSignatureOnComment');
<& /Elements/MessageBox, Name=>"UpdateContent", IncludeSignature => $IncludeSignature, %ARGS &>
% }
 
<& /Elements/Submit, Label => loc('Update Ticket'), Name => 'SubmitTicket' &>