guild/backend/modules/settings/views/skill/_form.php

24 lines
501 B
PHP
Raw Normal View History

2018-10-11 11:15:09 +03:00
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
2018-10-12 14:52:08 +03:00
/* @var $model backend\modules\settings\models\Skill */
2018-10-11 11:15:09 +03:00
/* @var $form yii\widgets\ActiveForm */
?>
2018-10-12 14:52:08 +03:00
<div class="skill-form">
2018-10-11 11:15:09 +03:00
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
<div class="form-group">
<?= Html::submitButton('Сохранить', ['class' => 'btn btn-success']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>