check duration is under 24 hours, colorpicker updates on drag, picker for duration without am/pm.
This commit is contained in:
naomiaro 2011-01-30 21:42:53 -05:00
parent 092b36c346
commit 48c1ce77b9
6 changed files with 55 additions and 7 deletions

View file

@ -8,5 +8,8 @@
$this->element->getValue(),
$this->element->getAttribs()
) ?>
<?php echo $this->formErrors($this->element->getMessages()) ?>
<?php if($this->element->hasErrors()) {
echo $this->formErrors($this->element->getMessages());
}
?>
</dd>

View file

@ -0,0 +1,16 @@
<dt id="<?php echo $this->element->getName() ?>-label" class="<?php echo $this->class ?>">
<?php echo $this->formLabel($this->element->getName(),
$this->element->getLabel()) ?>
</dt>
<dd id="<?php echo $this->element->getName() ?>-element">
<?php echo $this->{$this->element->helper}(
$this->element->getName(),
$this->element->getValue(),
$this->element->getAttribs()
) ?>
<?php if($this->element->hasErrors()) {
echo $this->formErrors($this->element->getMessages());
}
?>
</dd>