예제 #1
0
        <?php 
echo $form->labelEx($model, 'description');
?>
        <?php 
echo $form->textField($model, 'description');
?>
        <?php 
echo $form->error($model, 'description');
?>
</div>   
<div class="row">
        <?php 
echo $form->labelEx($model, 'type');
?>
        <?php 
echo $form->dropDownList($model, 'type', ConstantDefine::getMenuType(), array('id' => 'menu_type', 'options' => array(ConstantDefine::MENU_TYPE_URL => array('selected' => true))));
?>
        <?php 
echo $form->error($model, 'type');
?>
</div>
<div class="row" >
        <?php 
echo $form->labelEx($model, 'value');
?>
    
        <!-- Start for the form of URL  -->
        <div class="type_form" id="type_form_div_<?php 
echo ConstantDefine::MENU_TYPE_URL;
?>
" style="display: none">