guild/backend/modules/hh/views/hh/_form.php
2019-06-21 18:05:58 +03:00

24 lines
488 B
PHP
Executable File

<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\hh\models\Hh */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="hh-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'url')->textInput(['maxlength' => true]) ?>
<div class="form-group">
<?= Html::submitButton('Сохранить', ['class' => 'btn btn-success']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>