summaryrefslogtreecommitdiff
path: root/httemplate/edit/fiber_olt.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-12-21 14:41:40 -0800
committerMark Wells <mark@freeside.biz>2015-12-21 14:42:14 -0800
commit38444ef88b5e93aa9aa724369ae8fe17c97fa480 (patch)
treead3d567424176a4f0169ab1e2e0a40876f970450 /httemplate/edit/fiber_olt.html
parent97ac81431c508194cd14586fa96d68259a79efe1 (diff)
svc_fiber, #35260
Diffstat (limited to 'httemplate/edit/fiber_olt.html')
-rw-r--r--httemplate/edit/fiber_olt.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/edit/fiber_olt.html b/httemplate/edit/fiber_olt.html
new file mode 100644
index 000000000..ab7d2f07e
--- /dev/null
+++ b/httemplate/edit/fiber_olt.html
@@ -0,0 +1,24 @@
+<& elements/edit.html,
+ 'popup' => 1,
+ 'table' => 'fiber_olt',
+ 'name_singular' => 'OLT',
+ 'labels' => \%labels,
+ 'fields' => \@fields,
+&>
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+my @fields = (
+ 'oltname',
+ 'serial',
+ { field => 'disabled', type => 'checkbox', value => 'Y' }
+);
+
+my %labels = (
+ 'oltnum' => '',
+ 'oltname' => 'Name',
+ 'serial' => 'Serial',
+ 'disabled' => 'Disabled',
+);
+</%init>