CSS and display fixes

This commit is contained in:
Duncan Sommerville 2015-11-16 12:07:53 -05:00
parent 610d860d6a
commit 08f5aa51a6
6 changed files with 28 additions and 6 deletions

View file

@ -6,6 +6,14 @@ class Application_Form_StationPodcast extends Zend_Form {
// Station Podcast form
$podcastPreferences = new Application_Form_PodcastPreferences();
$this->addSubForm($podcastPreferences, 'preferences_podcast');
$csrf_namespace = new Zend_Session_Namespace('csrf_namespace');
$csrf_element = new Zend_Form_Element_Hidden('csrf');
$csrf_element->setValue($csrf_namespace->authtoken)
->setRequired('true')
->removeDecorator('HtmlTag')
->removeDecorator('Label');
$this->addElement($csrf_element);
}
}