CSS and display fixes
This commit is contained in:
parent
610d860d6a
commit
08f5aa51a6
6 changed files with 28 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
|
||||
<div class="angular_wrapper" ng-controller="Podcast">
|
||||
<div class="inner_editor_title">
|
||||
<h2>
|
||||
|
@ -13,7 +15,9 @@
|
|||
</div>
|
||||
<div>
|
||||
<label for="podcast_url"><?php echo _("Podcast URL: ") ?></label>
|
||||
<span class="podcast-metadata-field">{{podcast.url}}</span>
|
||||
<a href="{{podcast.url}}" target="_blank">
|
||||
<span class="podcast-metadata-field">{{podcast.url}}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<label for="podcast_auto_ingest"><?php echo _("Automatically download latest episodes?") ?></label>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<form class="podcast-metadata">
|
||||
<?php echo $this->form->getElement('csrf') ?>
|
||||
<input ng-value="podcast.id" class="obj_id" type="hidden"/>
|
||||
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("General Fields") ?></h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue