16 lines
398 B
PHP
16 lines
398 B
PHP
<?php
|
|
/** @var app\models\EntryForm $model */
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\ActiveForm;
|
|
|
|
?>
|
|
<?php $form = ActiveForm::begin(); ?>
|
|
|
|
<?= $form->field($model, 'name')->label('Your Name') ?>
|
|
<?= $form->field($model, 'email')->label('Your Email') ?>
|
|
|
|
<div class="form-group">
|
|
<?= Html::submitButton('提交', ['class' => 'btn btn-primary']) ?>
|
|
</div>
|
|
<?php ActiveForm::end(); ?>
|