blob: 862766966f74be74cc5f7b6c16511f3ee5488e9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
% return if ($RT::URI::freeside::IntegrationType ne 'Internal');
<select name="<%$Name%>">
% if ($ShowNullOption) {
<option value="">-</option>
% }
% for my $tag (qsearch('part_tag', {'disabled' => ''})) {
<option value="<%$tag->tagnum%>" <%
$tag->tagnum == $Default||'' ? 'selected' : ''%>
><%$tag->tagname%></option>
% }
</select>
<%init></%init>
<%args>
$ShowNullOption => 1
$Name => undef
$Default => 0
</%args>
|