Skip to content

Commit

Permalink
Activity Form: Linked Data Default field hide.
Browse files Browse the repository at this point in the history
  • Loading branch information
mesaugat committed May 7, 2014
1 parent 29ff183 commit 533070e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions library/Iati/Aidstream/Form/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ public function getFormDefination()
->setValue($this->data['@hierarchy'])
->setAttrib('class' , 'form-text');

$form['linked_data_uri'] = new Zend_Form_Element_Text('linked_data_uri');
$form['linked_data_uri']->setLabel('Linked Data Uri')
->setValue($this->data['@linked_data_uri'])
->setAttrib('class' , 'form-text');
/*
* Hide Linked Data Default (v1.2.4)
*
$form['linked_data_uri'] = new Zend_Form_Element_Text('linked_data_uri');
$form['linked_data_uri']->setLabel('Linked Data Uri')
->setValue($this->data['@linked_data_uri'])
->setAttrib('class' , 'form-text');
*/

$this->addElements($form);
return $this;
Expand Down

0 comments on commit 533070e

Please sign in to comment.