summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-access_group.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-select-access_group.html')
-rw-r--r--httemplate/elements/tr-select-access_group.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/httemplate/elements/tr-select-access_group.html b/httemplate/elements/tr-select-access_group.html
index 0beec0842..e443ad26a 100644
--- a/httemplate/elements/tr-select-access_group.html
+++ b/httemplate/elements/tr-select-access_group.html
@@ -1,22 +1,22 @@
-<%
- my( $groupnum, %opt ) = @_;
+%
+% my( $groupnum, %opt ) = @_;
+%
+% $opt{'access_group'} ||= [ qsearch( 'access_group', {} ) ]; # { disabled=>'' } )
+%
+% #warn "***** tr-select-access_group: \n". Dumper(%opt);
+%
+% if ( scalar(@{ $opt{'access_group'} }) == 0 ) {
- $opt{'access_group'} ||= [ qsearch( 'access_group', {} ) ]; # { disabled=>'' } )
-
- #warn "***** tr-select-access_group: \n". Dumper(%opt);
-%>
-
-<% if ( scalar(@{ $opt{'access_group'} }) == 0 ) { %>
<INPUT TYPE="hidden" NAME="groupnum" VALUE="">
+% } else {
-<% } else { %>
<TR>
- <TD ALIGN="right"><%= $opt{'label'} || 'Access group' %></TD>
+ <TD ALIGN="right"><% $opt{'label'} || 'Access group' %></TD>
<TD>
- <%= include( '/elements/select-access_group.html', $groupnum, %opt ) %>
+ <% include( '/elements/select-access_group.html', $groupnum, %opt ) %>
</TD>
</TR>
+% }
-<% } %>