add-show-block.phtml 605 B

12345678910111213141516
  1. <dt id="<?php echo $this->element->getName() ?>-label" class="<?php echo $this->class ?>">
  2. <?php echo $this->formLabel($this->element->getName(),
  3. $this->element->getLabel()) ?>
  4. </dt>
  5. <dd id="<?php echo $this->element->getName() ?>-element" class="<?php echo $this->class ?>">
  6. <?php echo $this->{$this->element->helper}(
  7. $this->element->getName(),
  8. $this->element->getValue(),
  9. $this->element->getAttribs()
  10. ) ?>
  11. <?php if($this->element->hasErrors()) {
  12. echo $this->formErrors($this->element->getMessages());
  13. }
  14. ?>
  15. </dd>