1 <% include( 'elements/edit.html',
2 'name_singular' => 'member',
3 'table' => 'mailinglistmember',
6 { field=>'listnum', type=>'hidden', },
7 { field=>'svcnum', type=>'hidden', }, #not yet
8 { field=>'contactemailnum', type=>'hidden', }, #not yet
9 { field=>'email', type=>'text', },
11 'labels' => { 'membernum' => 'Member',
12 'email' => 'Email address',
14 'new_callback' => $new_callback,
19 my $new_callback = sub {
20 #my( $cgi, $object, $fields_listref, $opt_hashref ) = @_;
21 my( $cgi, $object ) = @_;
22 $object->listnum( $cgi->param('listnum') );