fitness-web/frontend/views/fingerprint/create.php

39 lines
1.0 KiB
PHP

<?php
use frontend\components\CustomerTabWidget;
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;
?>
<?php echo CustomerTabWidget::widget(['card' => $card])?>
<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>