X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fforms%2FGeom.php;h=b52e0719c3e6f98c7e57c0904124e06ec05840c2;hb=2d081e8e5ec85f3a8fb86af5edcda40359280c24;hp=cad18a777b413a242715a113236abae2d3617770;hpb=a64d41557a62ec6051d7fa08d1ba941e089aa5c2;p=syj.git diff --git a/application/forms/Geom.php b/application/forms/Geom.php index cad18a7..b52e071 100644 --- a/application/forms/Geom.php +++ b/application/forms/Geom.php @@ -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( @@ -29,11 +28,11 @@ class Syj_Form_Geom extends Zend_Form 'decorators' => array( 'ViewHelper', 'label', - array('HtmlTag', array('tag' => 'div', 'id' => 'geom_accept_container'))))); + array('HtmlTag', array('tag' => 'div', 'id' => 'geom_accept_container', 'class' => 'logged-hide'))))); $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);