add rfid_key to card and key

This commit is contained in:
2015-12-28 21:03:52 +01:00
parent f6b483a9f9
commit 3b2f19b909
18 changed files with 108 additions and 11 deletions

View File

@@ -11,8 +11,6 @@ use common\models\Key;
<div class="key-search">
<div class="row">
<div class="col-md-4">
<?php $form = ActiveForm::begin([
'action' => ['index'],
@@ -20,8 +18,14 @@ use common\models\Key;
]); ?>
<?php //echo $form->field($model, 'id_key') ?>
<div class="row">
<div class="col-md-4">
<?php echo $form->field($model, 'number') ?>
</div><!-- col-md-4 END -->
<div class="col-md-4">
<?php echo $form->field($model, 'rfid_key') ?>
</div><!-- col-md-4 END -->
</div><!-- row END -->
<?php //$form->field($model, 'status')->dropDownList( Key::statuses() ) /*->textInput()*/ ?>
<?php //echo $form->field($model, 'status') ?>
@@ -39,6 +43,4 @@ use common\models\Key;
<?php ActiveForm::end(); ?>
</div><!-- col-md-4 END -->
</div><!-- row END -->
</div>