summaryrefslogtreecommitdiff
path: root/rt/webrt/Admin/Elements/SelectScripAction
blob: 08a1734937ba6e50ebbdfee95c49746a1d5c7fff (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 $ScripAction = $ScripActions->Next) {
<OPTION VALUE=<%$ScripAction->Id%>
<% $ScripAction->Id == $Default && 'SELECTED' %>
><%$ScripAction->Name%>
</OPTION>
%}
</SELECT>

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



</%INIT>
<%ARGS>

$Default => undef
$Name => 'ScripAction'

</%ARGS>