checks on dates, UI work mostly done
This commit is contained in:
parent
dc6fcec0e3
commit
092b36c346
17 changed files with 293 additions and 197 deletions
14
application/views/scripts/form/add-show-checkbox.phtml
Normal file
14
application/views/scripts/form/add-show-checkbox.phtml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<dt id="<?php echo $this->element->getName() ?>-label" class="block-display">
|
||||
<?php echo $this->formLabel($this->element->getName(),
|
||||
$this->element->getLabel()) ?>
|
||||
</dt>
|
||||
<dd id="<?php echo $this->element->getName() ?>-element" class="block-display clearfix">
|
||||
<?php $i=0 ?>
|
||||
<?php foreach ($this->element->getMultiOptions() as $opt) : ?>
|
||||
<label class="wrapp-label" for="<?php echo $this->element->getName() ?>-<?php echo $i ?>">
|
||||
<input id="<?php echo $this->element->getName() ?>-<?php echo $i ?>" value="<?php echo $i ?>" type="checkbox" name="add_show_day_check[]"><?php echo $opt ?></input>
|
||||
</label>
|
||||
<?php $i=$i+1 ?>
|
||||
<?php endforeach; ?>
|
||||
<?php echo $this->formErrors($this->element->getMessages()) ?>
|
||||
</dd>
|
Loading…
Add table
Add a link
Reference in a new issue