%# Every solution breeds new problems.

<SELECT ID="<%$Name%>" NAME="<%$Name%>" style="width:150px" <% $ReadOnly ? 'disabled' : '' %>>
<OPTION VALUE=""></OPTION>
%foreach my $status (@status) {
<OPTION VALUE="<%$status%>" <%($Default eq $status) && 'SELECTED'%>><%loc($status)%></OPTION>
% }
</SELECT>
<%ONCE>
my $queue = new RT::Queue($session{'CurrentUser'});
my @status = $queue->StatusArray();
</%ONCE>
<%ARGS>
$Name => undef
$Default => undef
$ReadOnly => undef
</%ARGS>
