X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Ftower.html;fp=httemplate%2Fedit%2Ftower.html;h=dae5d5a89b3cf47450fb1f64aa67910f3ca93308;hp=377a33e9bcca054af1bc6b98118ce989e7c525e6;hb=227953e3a6ee41683ea06b3f440946d4007898c3;hpb=41f3ac8d2ba5faada6c6972aff72bff18c4aeb5f diff --git a/httemplate/edit/tower.html b/httemplate/edit/tower.html index 377a33e9b..dae5d5a89 100644 --- a/httemplate/edit/tower.html +++ b/httemplate/edit/tower.html @@ -12,11 +12,15 @@ 'altitude', 'height', 'veg_height', - { field => 'sectornum', - type => 'tower_sector', - o2m_table => 'tower_sector', - m2_label => 'Sector', - m2_error_callback => $m2_error_callback, +# { field => 'sectornum', +# type => 'tower_sector', +# o2m_table => 'tower_sector', +# m2_label => 'Sector', +# m2_error_callback => $m2_error_callback, +# }, + { type => 'tower_sectors', + field => 'sectornum', + # does its own o2m-thing }, ], labels => { 'towernum' => 'Tower', @@ -27,7 +31,7 @@ 'latitude' => 'Latitude', 'longitude' => 'Longitude', 'altitude' => 'Altitude (feet)', - 'height' => 'Height (feet)', + 'height' => 'Tower height (feet)', 'veg_height' => 'Vegetation height (feet)', 'color' => 'Color', }, @@ -38,7 +42,7 @@ my $m2_error_callback = sub { # reconstruct the list my ($cgi, $object) = @_; my @fields = qw( - sectorname ip_addr height freq_mhz direction width tilt v_width margin sector_range + sectorname ip_addr height freq_mhz direction width tilt v_width db_high db_low sector_range ); map {