]> dev.renevier.net Git - syj.git/blobdiff - application/forms/Geom.php
separate route to create a new path, and to update an existing one
[syj.git] / application / forms / Geom.php
index 2ae949b2606217939dcc7f0d0ce85eb8c7688efe..b52e0719c3e6f98c7e57c0904124e06ec05840c2 100644 (file)
@@ -12,7 +12,6 @@ class Syj_Form_Geom extends Zend_Form
                             );
 
     public function init() {
-        $id = array('Hidden', 'geom_id');
         $data = array('Hidden', 'geom_data', array('required' => true));
 
         $title = array('Text', 'geom_title', array(
@@ -33,7 +32,7 @@ class Syj_Form_Geom extends Zend_Form
 
         $submit = array('Submit', 'geom_submit', array('label' => __("save")));
 
-        $this->addElements(array($id, $data, $title, $touaccept, $submit));
+        $this->addElements(array($data, $title, $touaccept, $submit));
 
         $decorator = $this->geom_accept->getDecorator('Zend_Form_Decorator_Label');
         $decorator->setOption('escape', false);