some basic form work, need to lear more about custom form validation/rendering.
This commit is contained in:
parent
381cdc11a9
commit
10d9d13993
11 changed files with 791 additions and 619 deletions
11
application/views/scripts/testform.phtml
Normal file
11
application/views/scripts/testform.phtml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<div class="<?php echo $this->class ?>">
|
||||
<?php echo $this->formLabel($this->element->getName(),
|
||||
$this->element->getLabel()) ?>
|
||||
<?php echo $this->{$this->element->helper}(
|
||||
$this->element->getName(),
|
||||
$this->element->getValue(),
|
||||
$this->element->getAttribs()
|
||||
) ?>
|
||||
<?php echo $this->formErrors($this->element->getMessages()) ?>
|
||||
<div class="hint"><?php echo $this->element->getDescription() ?></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue