コード例 #1
0
ファイル: _form.php プロジェクト: Shumer596/site.loc
?>

    <?php 
echo $form->field($model, 'discharge_city_id')->hiddenInput(['id' => 'city_input2'])->label(false);
?>
    <br>
    <h4><?php 
echo Yii::t('app', 'Goods');
?>
</h4>
    <?php 
echo $form->field($model, 'name')->textInput();
?>

    <?php 
echo $form->field($model, 'tare')->dropDownList(Goods::getTare(), ['prompt' => Yii::t('app', 'Select the tare')]);
?>

    <?php 
echo $form->field($model, 'goods_weight')->textInput();
?>

    <?php 
echo $form->field($model, 'goods_size')->textInput();
?>
    <br>
    <h4><?php 
echo Yii::t('app', 'Transport');
?>
</h4>
    <?php