4d7ee438
Alexey Boroda
Changes:
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\BlogCategory */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="blog-category-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
|
f2acc393
Alexey Boroda
-Seo widget integ...
|
16
17
18
19
20
21
22
23
24
25
|
<?= $form->field($model, 'meta_title')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'meta_desc')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'seo_text')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'h1')->textInput(['maxlength' => true]) ?>
|
4d7ee438
Alexey Boroda
Changes:
|
26
27
28
29
30
31
32
|
<div class="form-group">
<?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
|