36 lines
927 B
PHP
36 lines
927 B
PHP
<?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>
|