add fingerpint frontend gui
This commit is contained in:
35
frontend/views/fingerprint/create.php
Normal file
35
frontend/views/fingerprint/create.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model common\models\Fingerprint */
|
||||
/* @var $form yii\widgets\ActiveForm */
|
||||
|
||||
|
||||
$this->title = 'Ujjlenyomat hozzáadása';
|
||||
$this->params['breadcrumbs'][] = ['label' => 'Ujjlenyomatok', 'url' => ['index', 'id_customer' => $model->id_customer]];
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<div class="fingerprint-create">
|
||||
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
|
||||
<div class="fingerprint-form">
|
||||
|
||||
<?php $form = ActiveForm::begin(); ?>
|
||||
|
||||
<?= $form->field($model, 'fingerprint')->textInput(['maxlength' => true]) ?>
|
||||
|
||||
|
||||
<?= $form->field($model, 'id_customer')->hiddenInput(['maxlength' => true])->label(false) ?>
|
||||
|
||||
<div class="form-group">
|
||||
<?= Html::submitButton('Mentés', ['class' => 'btn btn-success']) ?>
|
||||
</div>
|
||||
|
||||
<?php ActiveForm::end(); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user