summaryrefslogtreecommitdiff
path: root/httemplate/edit/circuit_type.html
blob: 897758897fd9138370bb76d0449b835d01ee02d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<& elements/edit.html,
  'popup'         => 1,
  'table'         => 'circuit_type',
  'name_singular' => 'circuit type',
  'labels'        => \%labels,
  'fields'        => \@fields,
&>
<%init>
die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');

my @fields = (
  'typename',
  { field => 'disabled', type => 'checkbox', value => 'Y' }
);
my %labels = (
  'typenum' => '',
  'typename' => 'Circuit type',
  'disabled' => 'Disabled'
);
</%init>