SAAS-290: Hosted SaaS widgets + javascript code generation

This commit is contained in:
Martin Konecny 2012-11-06 18:10:53 -05:00
parent 272e428fa7
commit 27d40ef4df
2 changed files with 53 additions and 0 deletions

View file

@ -50,6 +50,20 @@
</ul>
<?php endif; ?>
</dd>
<dt id="widgetCode-label" class="block-display">
<label class="optional" for="widgetCode"><?php echo $this->element->getElement('widgetCode')->getLabel() ?></label>
</dt>
<dd id="widgetCode-element" class="block-display clearfix">
<?php echo $this->element->getElement('widgetCode') ?>
<?php if($this->element->getElement('widgetCode')->hasErrors()) : ?>
<ul class='errors'>
<?php foreach($this->element->getElement('widgetCode')->getMessages() as $error): ?>
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</dd>
<dt id="timezone-label" class="block-display">
<label class="required" for="timezone"><?php echo $this->element->getElement('timezone')->getLabel() ?>
<span class="info-text-small">(Required)</span> :