summaryrefslogtreecommitdiff
path: root/httemplate/edit/fiber_olt.html
blob: ab7d2f07edd936f641b28117c1caf65890f49d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>