summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-access_group.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/select-access_group.html')
-rw-r--r--httemplate/elements/select-access_group.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/httemplate/elements/select-access_group.html b/httemplate/elements/select-access_group.html
new file mode 100644
index 0000000..299a66a
--- /dev/null
+++ b/httemplate/elements/select-access_group.html
@@ -0,0 +1,16 @@
+%
+% my( $groupnum, %opt ) = @_;
+%
+% %opt{'records'} = delete $opt{'access_group'}
+% if $opt{'access_group'};
+%
+%
+<% include( '/elements/select-table.html',
+ 'table' => 'access_group',
+ 'name_col' => 'groupname',
+ 'value' => $groupnum,
+ 'empty_label' => '(none)',
+ #'hashref' => { 'disabled' => '' },
+ %opt,
+ )
+%>