Example #1
0
 echo $form->select("pActive", array('1' => t('Active'), '0' => t('Inactive')), $p->isActive());
 ?>
                         </div>
                     </div>
                 </div> 
                 <div class="row">
                     <?php 
 if ($productgroups) {
     ?>
                     <div class="col-xs-6">
                         <div class="form-group">
                             <?php 
     echo $form->label('gID', t('Group'));
     ?>
                             <?php 
     echo $form->select('gID', $productgroups, $p->getGroupID());
     ?>
                         </div>
                     </div>
                     <?php 
 }
 ?>
                     <div class="col-xs-6">
                         <div class="form-group">
                             <?php 
 echo $form->label("pFeatured", t("Featured Product"));
 ?>
                             <?php 
 echo $form->select("pFeatured", array('0' => t('No'), '1' => t('Yes')), $p->isFeatured());
 ?>
                         </div>