diff options
Diffstat (limited to 'httemplate/edit/deploy_zone-fixed.html')
-rw-r--r-- | httemplate/edit/deploy_zone-fixed.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/edit/deploy_zone-fixed.html b/httemplate/edit/deploy_zone-fixed.html index b8d9f8bbc..24e03b01a 100644 --- a/httemplate/edit/deploy_zone-fixed.html +++ b/httemplate/edit/deploy_zone-fixed.html @@ -19,6 +19,7 @@ 'file' => 'Import blocks from text file', 'censusyear' => 'as census year', }, + 'fields' => [ { field => 'zonetype', type => 'hidden', @@ -30,8 +31,11 @@ }, 'description', { field => 'active_date', - type => 'fixed-date', - value => time, + type => 'input-date-field', + curr_value_callback => sub { + my ($cgi, $object) = @_; + $cgi->param('active_date') || $object->active_date || time; + }, }, { field => 'agentnum', type => 'select-agent', |