SAAS-772: Send metadata to Tunein

Added form validation by making a test request to the TuneIn API with
the user-entered values
This commit is contained in:
drigato 2015-05-14 13:13:33 -04:00
parent cf24c141fd
commit b023f191e3
4 changed files with 60 additions and 10 deletions

View file

@ -1,6 +1,12 @@
<fieldset class="padded">
<dl class="zend_form">
<?php echo $this->element->getElement('enable_tunein')->render() ?>
<?php if($this->element->getElement("enable_tunein")->hasErrors()) {
echo $this->element->getElement('enable_tunein')->renderErrors();
}
?>
<?php echo $this->element->getElement('enable_tunein')->renderViewHelper() ?>
<?php echo $this->element->getElement('enable_tunein')->renderLabel() ?>
<?php echo $this->element->getElement('tunein_station_id')->render() ?>