diff options
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/process/tower.html | 2 | ||||
-rw-r--r-- | httemplate/edit/tower.html | 18 |
2 files changed, 12 insertions, 8 deletions
diff --git a/httemplate/edit/process/tower.html b/httemplate/edit/process/tower.html index d14ac56f8..588a68e8d 100644 --- a/httemplate/edit/process/tower.html +++ b/httemplate/edit/process/tower.html @@ -4,7 +4,7 @@ process_o2m => { 'table' => 'tower_sector', 'fields' => [qw( sectorname ip_addr height freq_mhz direction width - downtilt v_width margin + downtilt v_width db_high db_low sector_range )], }, 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 { |