customer tags, RT#9192
[freeside.git] / httemplate / edit / part_tag.html
diff --git a/httemplate/edit/part_tag.html b/httemplate/edit/part_tag.html
new file mode 100644 (file)
index 0000000..938e342
--- /dev/null
@@ -0,0 +1,23 @@
+<% include( 'elements/edit.html',
+              'table'         => 'part_tag',
+              'name_singular' => 'tag',
+              'fields'        => [ 'tagname',
+                                   { field=>'disabled', type=>'checkbox', value=>'Y' },
+                                   'tagdesc',
+                                   'tagcolor'
+                                 ],
+              'labels'        => { 'tagnum'   => 'Tag #',
+                                   'tagname'  => 'Tag',
+                                   'tagdesc'  => 'Description',
+                                   'tagcolor' => 'Highlight Color',
+                                   'disabled' => 'Disabled',
+                                 },
+              'viewall_dir' => 'browse',
+          )
+%>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>