fast inventory item edit
This commit is contained in:
@@ -7,19 +7,15 @@ use yii\widgets\ActiveForm;
|
||||
/* @var $model common\models\InventoryItem */
|
||||
/* @var $form yii\widgets\ActiveForm */
|
||||
?>
|
||||
|
||||
<div id="inventory-form" class="inventory-item-form">
|
||||
|
||||
<?php $form = ActiveForm::begin( ); ?>
|
||||
|
||||
<?= $form->field($model, 'type')->hiddenInput()->label(false) ?>
|
||||
<?= $form->field($model, 'count')->textInput() ?>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<?= Html::submitButton( Yii::t('common/inventory-item', 'Mentés/Következő')
|
||||
, ['class' => 'btn btn-success',
|
||||
'name'=> '_next' ]) ?>
|
||||
<?= Html::submitButton( Yii::t('common/inventory-item', 'Mentés') , ['class' => 'btn btn-success' ]) ?>
|
||||
</div>
|
||||
|
||||
<?php ActiveForm::end(); ?>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user