Example #1
0
   <div class="block">
      <h1><?php 
echo $title;
?>
</h1>
      <div class="content meal_info">
<?php 
echo $form->open();
echo '<ul>';
echo '<li class="li_label">' . $form->label('shakes', __('Shakes:')) . '</li>';
echo $form->select('shakes', array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20));
echo '<li class="li_label">' . $form->label('entree', __('Entrees:')) . '</li>';
echo $form->select('entree', array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20));
echo '<li class="li_label">' . $form->label('bars', __('Bars:')) . '</li>';
echo $form->select('Bars', array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20));
echo '<li class="li_label">' . $form->label('vegetables', __('Vegetables:')) . '</li>';
echo $form->select('Vegetables', array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20));
echo '<li class="li_label">' . $form->label('fruits', __('Fruits:')) . '</li>';
echo $form->select('Fruits', array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20));
echo '<li class="li_label">' . $form->label('notes', __('Notes:')) . '</li>';
echo $form->textarea('notes');
echo '</ul>';
echo $form->submit(NULL, __('Save'));
echo $form->close();
?>
      </div>
   </div>
</div>