summaryrefslogtreecommitdiff
path: root/rt/webrt/Admin/Elements/SelectScripCondition
blob: 434f0c4ae0bdaa3f243e9c626d5e9ba4db14812b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<SELECT NAME=<%$Name%>>
<OPTION VALUE="" 
<% $Default eq undef && 'SELECTED' %>
>-</OPTION>
%while  (my $ScripCondition = $ScripConditions->Next) {
<OPTION VALUE=<%$ScripCondition->Id%>
<% $ScripCondition->Id == $Default && 'SELECTED' %>
><%$ScripCondition->Name%>
</OPTION>
%}
</SELECT>

<%INIT>
my $ScripConditions = RT::ScripConditions->new($session{'CurrentUser'});
$ScripConditions->UnLimit;



</%INIT>
<%ARGS>

$Default => undef
$Name => 'ScripCondition'

</%ARGS>