Commit 5de22083 by san58

поправил стили и разметку

1 parent 2ffc8926
...@@ -13,9 +13,9 @@ use app\models\Filter; ...@@ -13,9 +13,9 @@ use app\models\Filter;
<?php $form = ActiveForm::begin(); ?> <?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'pattern')->textarea(['rows' => 6]) ?> <?= $form->field($model, 'pattern', ['options' => ['class' => 'form-group col-xs-12']])->textarea(['rows' => 6]) ?>
<?= $form->field($model, 'created')->textInput() ?> <?= $form->field($model, 'created', ['options' => ['class' => 'form-group col-xs-12']])->textInput() ?>
<?= $form->field($model, 'include', ['options' => ['class' => 'form-group col-xs-12']])->dropDownList(Filter::getIncludes()) ?> <?= $form->field($model, 'include', ['options' => ['class' => 'form-group col-xs-12']])->dropDownList(Filter::getIncludes()) ?>
......
...@@ -5,7 +5,7 @@ use yii\helpers\Html; ...@@ -5,7 +5,7 @@ use yii\helpers\Html;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $model app\models\Filter */ /* @var $model app\models\Filter */
$this->title = 'Update Filter: ' . $model->id; $this->title = 'Update filter №' . $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Filters', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => 'Filters', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update'; $this->params['breadcrumbs'][] = 'Update';
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!